Documentation
¶
Index ¶
- Variables
- type PaillierAffAndGroupRangeMessage
- func (*PaillierAffAndGroupRangeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PaillierAffAndGroupRangeMessage) GetA() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetBx() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetBy() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetE() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetF() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetS() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetSalt() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetT() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetW() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetWy() []byte
- func (x *PaillierAffAndGroupRangeMessage) GetZ1() string
- func (x *PaillierAffAndGroupRangeMessage) GetZ2() string
- func (x *PaillierAffAndGroupRangeMessage) GetZ3() string
- func (x *PaillierAffAndGroupRangeMessage) GetZ4() string
- func (*PaillierAffAndGroupRangeMessage) ProtoMessage()
- func (x *PaillierAffAndGroupRangeMessage) ProtoReflect() protoreflect.Message
- func (x *PaillierAffAndGroupRangeMessage) Reset()
- func (x *PaillierAffAndGroupRangeMessage) String() string
- func (msg *PaillierAffAndGroupRangeMessage) Verify(config *crypto.ProofConfig, ssidInfo []byte, n0, n1, C, D, Y *big.Int, ...) error
- type PaillierOperationAndCommitmentMessage
- func (*PaillierOperationAndCommitmentMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PaillierOperationAndCommitmentMessage) GetA() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetBx() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetBy() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetE() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetF() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetS() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetSalt() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetT() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetW() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetWx() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetWy() []byte
- func (x *PaillierOperationAndCommitmentMessage) GetZ1() string
- func (x *PaillierOperationAndCommitmentMessage) GetZ2() string
- func (x *PaillierOperationAndCommitmentMessage) GetZ3() string
- func (x *PaillierOperationAndCommitmentMessage) GetZ4() string
- func (*PaillierOperationAndCommitmentMessage) ProtoMessage()
- func (x *PaillierOperationAndCommitmentMessage) ProtoReflect() protoreflect.Message
- func (x *PaillierOperationAndCommitmentMessage) Reset()
- func (x *PaillierOperationAndCommitmentMessage) String() string
- func (msg *PaillierOperationAndCommitmentMessage) Verify(config *crypto.ProofConfig, ssidInfo []byte, n0, n1, C, D, X, Y *big.Int, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVerifyFailure = errors.New("the verify failures") ErrInvalidInput = errors.New("invalid input") )
View Source
var File_aff_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PaillierAffAndGroupRangeMessage ¶
type PaillierAffAndGroupRangeMessage struct { Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"` S []byte `protobuf:"bytes,2,opt,name=S,proto3" json:"S,omitempty"` T []byte `protobuf:"bytes,3,opt,name=T,proto3" json:"T,omitempty"` A []byte `protobuf:"bytes,4,opt,name=A,proto3" json:"A,omitempty"` Bx []byte `protobuf:"bytes,5,opt,name=Bx,proto3" json:"Bx,omitempty"` By []byte `protobuf:"bytes,6,opt,name=By,proto3" json:"By,omitempty"` E []byte `protobuf:"bytes,7,opt,name=E,proto3" json:"E,omitempty"` F []byte `protobuf:"bytes,8,opt,name=F,proto3" json:"F,omitempty"` Z1 string `protobuf:"bytes,9,opt,name=z1,proto3" json:"z1,omitempty"` Z2 string `protobuf:"bytes,10,opt,name=z2,proto3" json:"z2,omitempty"` Z3 string `protobuf:"bytes,11,opt,name=z3,proto3" json:"z3,omitempty"` Z4 string `protobuf:"bytes,12,opt,name=z4,proto3" json:"z4,omitempty"` W []byte `protobuf:"bytes,13,opt,name=w,proto3" json:"w,omitempty"` Wy []byte `protobuf:"bytes,14,opt,name=wy,proto3" json:"wy,omitempty"` // contains filtered or unexported fields }
func NewPaillierAffAndGroupRangeMessage ¶
func NewPaillierAffAndGroupRangeMessage( config *crypto.ProofConfig, ssidInfo []byte, x, y, rho, rhoy, n0, n1, C, D, Y *big.Int, ped *zkPaillier.PederssenOpenParameter, X *crypto.ECPoint, ) (*PaillierAffAndGroupRangeMessage, error)
func (*PaillierAffAndGroupRangeMessage) Descriptor
deprecated
func (*PaillierAffAndGroupRangeMessage) Descriptor() ([]byte, []int)
Deprecated: Use PaillierAffAndGroupRangeMessage.ProtoReflect.Descriptor instead.
func (*PaillierAffAndGroupRangeMessage) GetA ¶
func (x *PaillierAffAndGroupRangeMessage) GetA() []byte
func (*PaillierAffAndGroupRangeMessage) GetBx ¶
func (x *PaillierAffAndGroupRangeMessage) GetBx() []byte
func (*PaillierAffAndGroupRangeMessage) GetBy ¶
func (x *PaillierAffAndGroupRangeMessage) GetBy() []byte
func (*PaillierAffAndGroupRangeMessage) GetE ¶
func (x *PaillierAffAndGroupRangeMessage) GetE() []byte
func (*PaillierAffAndGroupRangeMessage) GetF ¶
func (x *PaillierAffAndGroupRangeMessage) GetF() []byte
func (*PaillierAffAndGroupRangeMessage) GetS ¶
func (x *PaillierAffAndGroupRangeMessage) GetS() []byte
func (*PaillierAffAndGroupRangeMessage) GetSalt ¶
func (x *PaillierAffAndGroupRangeMessage) GetSalt() []byte
func (*PaillierAffAndGroupRangeMessage) GetT ¶
func (x *PaillierAffAndGroupRangeMessage) GetT() []byte
func (*PaillierAffAndGroupRangeMessage) GetW ¶
func (x *PaillierAffAndGroupRangeMessage) GetW() []byte
func (*PaillierAffAndGroupRangeMessage) GetWy ¶
func (x *PaillierAffAndGroupRangeMessage) GetWy() []byte
func (*PaillierAffAndGroupRangeMessage) GetZ1 ¶
func (x *PaillierAffAndGroupRangeMessage) GetZ1() string
func (*PaillierAffAndGroupRangeMessage) GetZ2 ¶
func (x *PaillierAffAndGroupRangeMessage) GetZ2() string
func (*PaillierAffAndGroupRangeMessage) GetZ3 ¶
func (x *PaillierAffAndGroupRangeMessage) GetZ3() string
func (*PaillierAffAndGroupRangeMessage) GetZ4 ¶
func (x *PaillierAffAndGroupRangeMessage) GetZ4() string
func (*PaillierAffAndGroupRangeMessage) ProtoMessage ¶
func (*PaillierAffAndGroupRangeMessage) ProtoMessage()
func (*PaillierAffAndGroupRangeMessage) ProtoReflect ¶
func (x *PaillierAffAndGroupRangeMessage) ProtoReflect() protoreflect.Message
func (*PaillierAffAndGroupRangeMessage) Reset ¶
func (x *PaillierAffAndGroupRangeMessage) Reset()
func (*PaillierAffAndGroupRangeMessage) String ¶
func (x *PaillierAffAndGroupRangeMessage) String() string
func (*PaillierAffAndGroupRangeMessage) Verify ¶
func (msg *PaillierAffAndGroupRangeMessage) Verify( config *crypto.ProofConfig, ssidInfo []byte, n0, n1, C, D, Y *big.Int, ped *zkPaillier.PederssenOpenParameter, X *crypto.ECPoint, ) error
type PaillierOperationAndCommitmentMessage ¶
type PaillierOperationAndCommitmentMessage struct { Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"` S []byte `protobuf:"bytes,2,opt,name=S,proto3" json:"S,omitempty"` T []byte `protobuf:"bytes,3,opt,name=T,proto3" json:"T,omitempty"` A []byte `protobuf:"bytes,4,opt,name=A,proto3" json:"A,omitempty"` Bx []byte `protobuf:"bytes,5,opt,name=Bx,proto3" json:"Bx,omitempty"` By []byte `protobuf:"bytes,6,opt,name=By,proto3" json:"By,omitempty"` E []byte `protobuf:"bytes,7,opt,name=E,proto3" json:"E,omitempty"` F []byte `protobuf:"bytes,8,opt,name=F,proto3" json:"F,omitempty"` Z1 string `protobuf:"bytes,9,opt,name=z1,proto3" json:"z1,omitempty"` Z2 string `protobuf:"bytes,10,opt,name=z2,proto3" json:"z2,omitempty"` Z3 string `protobuf:"bytes,11,opt,name=z3,proto3" json:"z3,omitempty"` Z4 string `protobuf:"bytes,12,opt,name=z4,proto3" json:"z4,omitempty"` W []byte `protobuf:"bytes,13,opt,name=w,proto3" json:"w,omitempty"` Wx []byte `protobuf:"bytes,14,opt,name=wx,proto3" json:"wx,omitempty"` Wy []byte `protobuf:"bytes,15,opt,name=wy,proto3" json:"wy,omitempty"` // contains filtered or unexported fields }
func NewPaillierOperationAndPaillierCommitment ¶
func NewPaillierOperationAndPaillierCommitment( config *crypto.ProofConfig, ssidInfo []byte, x, y, rho, rhox, rhoy, n0, n1, X, Y, C, D *big.Int, ped *zkPaillier.PederssenOpenParameter, ) (*PaillierOperationAndCommitmentMessage, error)
func (*PaillierOperationAndCommitmentMessage) Descriptor
deprecated
func (*PaillierOperationAndCommitmentMessage) Descriptor() ([]byte, []int)
Deprecated: Use PaillierOperationAndCommitmentMessage.ProtoReflect.Descriptor instead.
func (*PaillierOperationAndCommitmentMessage) GetA ¶
func (x *PaillierOperationAndCommitmentMessage) GetA() []byte
func (*PaillierOperationAndCommitmentMessage) GetBx ¶
func (x *PaillierOperationAndCommitmentMessage) GetBx() []byte
func (*PaillierOperationAndCommitmentMessage) GetBy ¶
func (x *PaillierOperationAndCommitmentMessage) GetBy() []byte
func (*PaillierOperationAndCommitmentMessage) GetE ¶
func (x *PaillierOperationAndCommitmentMessage) GetE() []byte
func (*PaillierOperationAndCommitmentMessage) GetF ¶
func (x *PaillierOperationAndCommitmentMessage) GetF() []byte
func (*PaillierOperationAndCommitmentMessage) GetS ¶
func (x *PaillierOperationAndCommitmentMessage) GetS() []byte
func (*PaillierOperationAndCommitmentMessage) GetSalt ¶
func (x *PaillierOperationAndCommitmentMessage) GetSalt() []byte
func (*PaillierOperationAndCommitmentMessage) GetT ¶
func (x *PaillierOperationAndCommitmentMessage) GetT() []byte
func (*PaillierOperationAndCommitmentMessage) GetW ¶
func (x *PaillierOperationAndCommitmentMessage) GetW() []byte
func (*PaillierOperationAndCommitmentMessage) GetWx ¶
func (x *PaillierOperationAndCommitmentMessage) GetWx() []byte
func (*PaillierOperationAndCommitmentMessage) GetWy ¶
func (x *PaillierOperationAndCommitmentMessage) GetWy() []byte
func (*PaillierOperationAndCommitmentMessage) GetZ1 ¶
func (x *PaillierOperationAndCommitmentMessage) GetZ1() string
func (*PaillierOperationAndCommitmentMessage) GetZ2 ¶
func (x *PaillierOperationAndCommitmentMessage) GetZ2() string
func (*PaillierOperationAndCommitmentMessage) GetZ3 ¶
func (x *PaillierOperationAndCommitmentMessage) GetZ3() string
func (*PaillierOperationAndCommitmentMessage) GetZ4 ¶
func (x *PaillierOperationAndCommitmentMessage) GetZ4() string
func (*PaillierOperationAndCommitmentMessage) ProtoMessage ¶
func (*PaillierOperationAndCommitmentMessage) ProtoMessage()
func (*PaillierOperationAndCommitmentMessage) ProtoReflect ¶
func (x *PaillierOperationAndCommitmentMessage) ProtoReflect() protoreflect.Message
func (*PaillierOperationAndCommitmentMessage) Reset ¶
func (x *PaillierOperationAndCommitmentMessage) Reset()
func (*PaillierOperationAndCommitmentMessage) String ¶
func (x *PaillierOperationAndCommitmentMessage) String() string
func (*PaillierOperationAndCommitmentMessage) Verify ¶
func (msg *PaillierOperationAndCommitmentMessage) Verify( config *crypto.ProofConfig, ssidInfo []byte, n0, n1, C, D, X, Y *big.Int, ped *zkPaillier.PederssenOpenParameter, ) error
Click to show internal directories.
Click to hide internal directories.