Documentation
¶
Index ¶
- Variables
- type EncryptRangeMessage
- func (*EncryptRangeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptRangeMessage) GetA() []byte
- func (x *EncryptRangeMessage) GetC() []byte
- func (x *EncryptRangeMessage) GetS() []byte
- func (x *EncryptRangeMessage) GetSalt() []byte
- func (x *EncryptRangeMessage) GetZ1() string
- func (x *EncryptRangeMessage) GetZ2() []byte
- func (x *EncryptRangeMessage) GetZ3() string
- func (*EncryptRangeMessage) ProtoMessage()
- func (x *EncryptRangeMessage) ProtoReflect() protoreflect.Message
- func (x *EncryptRangeMessage) Reset()
- func (x *EncryptRangeMessage) String() string
- func (msg *EncryptRangeMessage) Verify(config *crypto.ProofConfig, ssidInfo []byte, kCiphertext *big.Int, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrVerifyFailure = "the encproof verification is failure"
)
View Source
var File_enc_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EncryptRangeMessage ¶
type EncryptRangeMessage 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"` A []byte `protobuf:"bytes,3,opt,name=A,proto3" json:"A,omitempty"` C []byte `protobuf:"bytes,4,opt,name=C,proto3" json:"C,omitempty"` Z1 string `protobuf:"bytes,5,opt,name=z1,proto3" json:"z1,omitempty"` Z2 []byte `protobuf:"bytes,6,opt,name=z2,proto3" json:"z2,omitempty"` Z3 string `protobuf:"bytes,7,opt,name=z3,proto3" json:"z3,omitempty"` // contains filtered or unexported fields }
func NewEncryptRangeMessage ¶
func NewEncryptRangeMessage( config *crypto.ProofConfig, ssidInfo []byte, ciphertext *big.Int, proverN *big.Int, k *big.Int, rho *big.Int, ped *zkPaillier.PederssenOpenParameter, ) (*EncryptRangeMessage, error)
func (*EncryptRangeMessage) Descriptor
deprecated
func (*EncryptRangeMessage) Descriptor() ([]byte, []int)
Deprecated: Use EncryptRangeMessage.ProtoReflect.Descriptor instead.
func (*EncryptRangeMessage) GetA ¶
func (x *EncryptRangeMessage) GetA() []byte
func (*EncryptRangeMessage) GetC ¶
func (x *EncryptRangeMessage) GetC() []byte
func (*EncryptRangeMessage) GetS ¶
func (x *EncryptRangeMessage) GetS() []byte
func (*EncryptRangeMessage) GetSalt ¶
func (x *EncryptRangeMessage) GetSalt() []byte
func (*EncryptRangeMessage) GetZ1 ¶
func (x *EncryptRangeMessage) GetZ1() string
func (*EncryptRangeMessage) GetZ2 ¶
func (x *EncryptRangeMessage) GetZ2() []byte
func (*EncryptRangeMessage) GetZ3 ¶
func (x *EncryptRangeMessage) GetZ3() string
func (*EncryptRangeMessage) ProtoMessage ¶
func (*EncryptRangeMessage) ProtoMessage()
func (*EncryptRangeMessage) ProtoReflect ¶
func (x *EncryptRangeMessage) ProtoReflect() protoreflect.Message
func (*EncryptRangeMessage) Reset ¶
func (x *EncryptRangeMessage) Reset()
func (*EncryptRangeMessage) String ¶
func (x *EncryptRangeMessage) String() string
func (*EncryptRangeMessage) Verify ¶
func (msg *EncryptRangeMessage) Verify( config *crypto.ProofConfig, ssidInfo []byte, kCiphertext *big.Int, proveN *big.Int, ped *zkPaillier.PederssenOpenParameter, ) error
Click to show internal directories.
Click to hide internal directories.