Documentation ¶
Index ¶
- Variables
- type DKGRound1Package
- func (*DKGRound1Package) Descriptor() ([]byte, []int)
- func (m *DKGRound1Package) GetCommitment() *VerifiableSecretSharingCommitment
- func (m *DKGRound1Package) GetProofOfKnowledge() []byte
- func (m *DKGRound1Package) Marshal() (dAtA []byte, err error)
- func (m *DKGRound1Package) MarshalTo(dAtA []byte) (int, error)
- func (m *DKGRound1Package) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DKGRound1Package) ProtoMessage()
- func (m *DKGRound1Package) Reset()
- func (m *DKGRound1Package) Size() (n int)
- func (m *DKGRound1Package) String() string
- func (m *DKGRound1Package) Unmarshal(dAtA []byte) error
- func (m *DKGRound1Package) XXX_DiscardUnknown()
- func (m *DKGRound1Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DKGRound1Package) XXX_Merge(src proto.Message)
- func (m *DKGRound1Package) XXX_Size() int
- func (m *DKGRound1Package) XXX_Unmarshal(b []byte) error
- type DKGRound2Package
- func (*DKGRound2Package) Descriptor() ([]byte, []int)
- func (m *DKGRound2Package) GetSigningShare() *SigningShare
- func (m *DKGRound2Package) Marshal() (dAtA []byte, err error)
- func (m *DKGRound2Package) MarshalTo(dAtA []byte) (int, error)
- func (m *DKGRound2Package) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DKGRound2Package) ProtoMessage()
- func (m *DKGRound2Package) Reset()
- func (m *DKGRound2Package) Size() (n int)
- func (m *DKGRound2Package) String() string
- func (m *DKGRound2Package) Unmarshal(dAtA []byte) error
- func (m *DKGRound2Package) XXX_DiscardUnknown()
- func (m *DKGRound2Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DKGRound2Package) XXX_Merge(src proto.Message)
- func (m *DKGRound2Package) XXX_Size() int
- func (m *DKGRound2Package) XXX_Unmarshal(b []byte) error
- type NonceCommitment
- func (*NonceCommitment) Descriptor() ([]byte, []int)
- func (m *NonceCommitment) GetElement() []byte
- func (m *NonceCommitment) Marshal() (dAtA []byte, err error)
- func (m *NonceCommitment) MarshalTo(dAtA []byte) (int, error)
- func (m *NonceCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NonceCommitment) ProtoMessage()
- func (m *NonceCommitment) Reset()
- func (m *NonceCommitment) Size() (n int)
- func (m *NonceCommitment) String() string
- func (m *NonceCommitment) Unmarshal(dAtA []byte) error
- func (m *NonceCommitment) XXX_DiscardUnknown()
- func (m *NonceCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NonceCommitment) XXX_Merge(src proto.Message)
- func (m *NonceCommitment) XXX_Size() int
- func (m *NonceCommitment) XXX_Unmarshal(b []byte) error
- type SignatureShare
- func (*SignatureShare) Descriptor() ([]byte, []int)
- func (m *SignatureShare) GetScalar() []byte
- func (m *SignatureShare) Marshal() (dAtA []byte, err error)
- func (m *SignatureShare) MarshalTo(dAtA []byte) (int, error)
- func (m *SignatureShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignatureShare) ProtoMessage()
- func (m *SignatureShare) Reset()
- func (m *SignatureShare) Size() (n int)
- func (m *SignatureShare) String() string
- func (m *SignatureShare) Unmarshal(dAtA []byte) error
- func (m *SignatureShare) XXX_DiscardUnknown()
- func (m *SignatureShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignatureShare) XXX_Merge(src proto.Message)
- func (m *SignatureShare) XXX_Size() int
- func (m *SignatureShare) XXX_Unmarshal(b []byte) error
- type SigningCommitments
- func (*SigningCommitments) Descriptor() ([]byte, []int)
- func (m *SigningCommitments) GetBinding() *NonceCommitment
- func (m *SigningCommitments) GetHiding() *NonceCommitment
- func (m *SigningCommitments) Marshal() (dAtA []byte, err error)
- func (m *SigningCommitments) MarshalTo(dAtA []byte) (int, error)
- func (m *SigningCommitments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SigningCommitments) ProtoMessage()
- func (m *SigningCommitments) Reset()
- func (m *SigningCommitments) Size() (n int)
- func (m *SigningCommitments) String() string
- func (m *SigningCommitments) Unmarshal(dAtA []byte) error
- func (m *SigningCommitments) XXX_DiscardUnknown()
- func (m *SigningCommitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningCommitments) XXX_Merge(src proto.Message)
- func (m *SigningCommitments) XXX_Size() int
- func (m *SigningCommitments) XXX_Unmarshal(b []byte) error
- type SigningShare
- func (*SigningShare) Descriptor() ([]byte, []int)
- func (m *SigningShare) GetScalar() []byte
- func (m *SigningShare) Marshal() (dAtA []byte, err error)
- func (m *SigningShare) MarshalTo(dAtA []byte) (int, error)
- func (m *SigningShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SigningShare) ProtoMessage()
- func (m *SigningShare) Reset()
- func (m *SigningShare) Size() (n int)
- func (m *SigningShare) String() string
- func (m *SigningShare) Unmarshal(dAtA []byte) error
- func (m *SigningShare) XXX_DiscardUnknown()
- func (m *SigningShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningShare) XXX_Merge(src proto.Message)
- func (m *SigningShare) XXX_Size() int
- func (m *SigningShare) XXX_Unmarshal(b []byte) error
- type VerifiableSecretSharingCommitment
- func (*VerifiableSecretSharingCommitment) Descriptor() ([]byte, []int)
- func (m *VerifiableSecretSharingCommitment) GetElements() [][]byte
- func (m *VerifiableSecretSharingCommitment) Marshal() (dAtA []byte, err error)
- func (m *VerifiableSecretSharingCommitment) MarshalTo(dAtA []byte) (int, error)
- func (m *VerifiableSecretSharingCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerifiableSecretSharingCommitment) ProtoMessage()
- func (m *VerifiableSecretSharingCommitment) Reset()
- func (m *VerifiableSecretSharingCommitment) Size() (n int)
- func (m *VerifiableSecretSharingCommitment) String() string
- func (m *VerifiableSecretSharingCommitment) Unmarshal(dAtA []byte) error
- func (m *VerifiableSecretSharingCommitment) XXX_DiscardUnknown()
- func (m *VerifiableSecretSharingCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifiableSecretSharingCommitment) XXX_Merge(src proto.Message)
- func (m *VerifiableSecretSharingCommitment) XXX_Size() int
- func (m *VerifiableSecretSharingCommitment) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DKGRound1Package ¶
type DKGRound1Package struct { // A commitment to the polynomial for secret sharing. Commitment *VerifiableSecretSharingCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` // A proof of knowledge of the underlying secret being shared. ProofOfKnowledge []byte `protobuf:"bytes,2,opt,name=proof_of_knowledge,json=proofOfKnowledge,proto3" json:"proof_of_knowledge,omitempty"` }
The public package sent in round 1 of the DKG protocol.
func (*DKGRound1Package) Descriptor ¶
func (*DKGRound1Package) Descriptor() ([]byte, []int)
func (*DKGRound1Package) GetCommitment ¶
func (m *DKGRound1Package) GetCommitment() *VerifiableSecretSharingCommitment
func (*DKGRound1Package) GetProofOfKnowledge ¶
func (m *DKGRound1Package) GetProofOfKnowledge() []byte
func (*DKGRound1Package) Marshal ¶
func (m *DKGRound1Package) Marshal() (dAtA []byte, err error)
func (*DKGRound1Package) MarshalToSizedBuffer ¶
func (m *DKGRound1Package) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DKGRound1Package) ProtoMessage ¶
func (*DKGRound1Package) ProtoMessage()
func (*DKGRound1Package) Reset ¶
func (m *DKGRound1Package) Reset()
func (*DKGRound1Package) Size ¶
func (m *DKGRound1Package) Size() (n int)
func (*DKGRound1Package) String ¶
func (m *DKGRound1Package) String() string
func (*DKGRound1Package) Unmarshal ¶
func (m *DKGRound1Package) Unmarshal(dAtA []byte) error
func (*DKGRound1Package) XXX_DiscardUnknown ¶
func (m *DKGRound1Package) XXX_DiscardUnknown()
func (*DKGRound1Package) XXX_Marshal ¶
func (m *DKGRound1Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DKGRound1Package) XXX_Merge ¶
func (m *DKGRound1Package) XXX_Merge(src proto.Message)
func (*DKGRound1Package) XXX_Size ¶
func (m *DKGRound1Package) XXX_Size() int
func (*DKGRound1Package) XXX_Unmarshal ¶
func (m *DKGRound1Package) XXX_Unmarshal(b []byte) error
type DKGRound2Package ¶
type DKGRound2Package struct { SigningShare `protobuf:"bytes,1,opt,name=signing_share,json=signingShare,proto3" json:"signing_share,omitempty"` }SigningShare *
The per-participant package sent in round 2 of the DKG protocol.
func (*DKGRound2Package) Descriptor ¶
func (*DKGRound2Package) Descriptor() ([]byte, []int)
func (*DKGRound2Package) GetSigningShare ¶
func (m *DKGRound2Package) GetSigningShare() *SigningShare
func (*DKGRound2Package) Marshal ¶
func (m *DKGRound2Package) Marshal() (dAtA []byte, err error)
func (*DKGRound2Package) MarshalToSizedBuffer ¶
func (m *DKGRound2Package) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DKGRound2Package) ProtoMessage ¶
func (*DKGRound2Package) ProtoMessage()
func (*DKGRound2Package) Reset ¶
func (m *DKGRound2Package) Reset()
func (*DKGRound2Package) Size ¶
func (m *DKGRound2Package) Size() (n int)
func (*DKGRound2Package) String ¶
func (m *DKGRound2Package) String() string
func (*DKGRound2Package) Unmarshal ¶
func (m *DKGRound2Package) Unmarshal(dAtA []byte) error
func (*DKGRound2Package) XXX_DiscardUnknown ¶
func (m *DKGRound2Package) XXX_DiscardUnknown()
func (*DKGRound2Package) XXX_Marshal ¶
func (m *DKGRound2Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DKGRound2Package) XXX_Merge ¶
func (m *DKGRound2Package) XXX_Merge(src proto.Message)
func (*DKGRound2Package) XXX_Size ¶
func (m *DKGRound2Package) XXX_Size() int
func (*DKGRound2Package) XXX_Unmarshal ¶
func (m *DKGRound2Package) XXX_Unmarshal(b []byte) error
type NonceCommitment ¶
type NonceCommitment struct { // These bytes should be a valid group element. Element []byte `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` }
Represents a commitment to a nonce value.
func (*NonceCommitment) Descriptor ¶
func (*NonceCommitment) Descriptor() ([]byte, []int)
func (*NonceCommitment) GetElement ¶
func (m *NonceCommitment) GetElement() []byte
func (*NonceCommitment) Marshal ¶
func (m *NonceCommitment) Marshal() (dAtA []byte, err error)
func (*NonceCommitment) MarshalToSizedBuffer ¶
func (m *NonceCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NonceCommitment) ProtoMessage ¶
func (*NonceCommitment) ProtoMessage()
func (*NonceCommitment) Reset ¶
func (m *NonceCommitment) Reset()
func (*NonceCommitment) Size ¶
func (m *NonceCommitment) Size() (n int)
func (*NonceCommitment) String ¶
func (m *NonceCommitment) String() string
func (*NonceCommitment) Unmarshal ¶
func (m *NonceCommitment) Unmarshal(dAtA []byte) error
func (*NonceCommitment) XXX_DiscardUnknown ¶
func (m *NonceCommitment) XXX_DiscardUnknown()
func (*NonceCommitment) XXX_Marshal ¶
func (m *NonceCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NonceCommitment) XXX_Merge ¶
func (m *NonceCommitment) XXX_Merge(src proto.Message)
func (*NonceCommitment) XXX_Size ¶
func (m *NonceCommitment) XXX_Size() int
func (*NonceCommitment) XXX_Unmarshal ¶
func (m *NonceCommitment) XXX_Unmarshal(b []byte) error
type SignatureShare ¶
type SignatureShare struct { byte `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"` }Scalar []
A share of the final signature. These get aggregated to make the actual thing.
func (*SignatureShare) Descriptor ¶
func (*SignatureShare) Descriptor() ([]byte, []int)
func (*SignatureShare) GetScalar ¶
func (m *SignatureShare) GetScalar() []byte
func (*SignatureShare) Marshal ¶
func (m *SignatureShare) Marshal() (dAtA []byte, err error)
func (*SignatureShare) MarshalToSizedBuffer ¶
func (m *SignatureShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignatureShare) ProtoMessage ¶
func (*SignatureShare) ProtoMessage()
func (*SignatureShare) Reset ¶
func (m *SignatureShare) Reset()
func (*SignatureShare) Size ¶
func (m *SignatureShare) Size() (n int)
func (*SignatureShare) String ¶
func (m *SignatureShare) String() string
func (*SignatureShare) Unmarshal ¶
func (m *SignatureShare) Unmarshal(dAtA []byte) error
func (*SignatureShare) XXX_DiscardUnknown ¶
func (m *SignatureShare) XXX_DiscardUnknown()
func (*SignatureShare) XXX_Marshal ¶
func (m *SignatureShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignatureShare) XXX_Merge ¶
func (m *SignatureShare) XXX_Merge(src proto.Message)
func (*SignatureShare) XXX_Size ¶
func (m *SignatureShare) XXX_Size() int
func (*SignatureShare) XXX_Unmarshal ¶
func (m *SignatureShare) XXX_Unmarshal(b []byte) error
type SigningCommitments ¶
type SigningCommitments struct { // One nonce to hide them. Hiding *NonceCommitment `protobuf:"bytes,1,opt,name=hiding,proto3" json:"hiding,omitempty"` // Another to bind them. Binding *NonceCommitment `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"` }
Represents the commitments to nonces needed for signing.
func (*SigningCommitments) Descriptor ¶
func (*SigningCommitments) Descriptor() ([]byte, []int)
func (*SigningCommitments) GetBinding ¶
func (m *SigningCommitments) GetBinding() *NonceCommitment
func (*SigningCommitments) GetHiding ¶
func (m *SigningCommitments) GetHiding() *NonceCommitment
func (*SigningCommitments) Marshal ¶
func (m *SigningCommitments) Marshal() (dAtA []byte, err error)
func (*SigningCommitments) MarshalTo ¶
func (m *SigningCommitments) MarshalTo(dAtA []byte) (int, error)
func (*SigningCommitments) MarshalToSizedBuffer ¶
func (m *SigningCommitments) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SigningCommitments) ProtoMessage ¶
func (*SigningCommitments) ProtoMessage()
func (*SigningCommitments) Reset ¶
func (m *SigningCommitments) Reset()
func (*SigningCommitments) Size ¶
func (m *SigningCommitments) Size() (n int)
func (*SigningCommitments) String ¶
func (m *SigningCommitments) String() string
func (*SigningCommitments) Unmarshal ¶
func (m *SigningCommitments) Unmarshal(dAtA []byte) error
func (*SigningCommitments) XXX_DiscardUnknown ¶
func (m *SigningCommitments) XXX_DiscardUnknown()
func (*SigningCommitments) XXX_Marshal ¶
func (m *SigningCommitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigningCommitments) XXX_Merge ¶
func (m *SigningCommitments) XXX_Merge(src proto.Message)
func (*SigningCommitments) XXX_Size ¶
func (m *SigningCommitments) XXX_Size() int
func (*SigningCommitments) XXX_Unmarshal ¶
func (m *SigningCommitments) XXX_Unmarshal(b []byte) error
type SigningShare ¶
type SigningShare struct { byte `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"` }Scalar []
A share of the final signing key.
func (*SigningShare) Descriptor ¶
func (*SigningShare) Descriptor() ([]byte, []int)
func (*SigningShare) GetScalar ¶
func (m *SigningShare) GetScalar() []byte
func (*SigningShare) Marshal ¶
func (m *SigningShare) Marshal() (dAtA []byte, err error)
func (*SigningShare) MarshalToSizedBuffer ¶
func (m *SigningShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SigningShare) ProtoMessage ¶
func (*SigningShare) ProtoMessage()
func (*SigningShare) Reset ¶
func (m *SigningShare) Reset()
func (*SigningShare) Size ¶
func (m *SigningShare) Size() (n int)
func (*SigningShare) String ¶
func (m *SigningShare) String() string
func (*SigningShare) Unmarshal ¶
func (m *SigningShare) Unmarshal(dAtA []byte) error
func (*SigningShare) XXX_DiscardUnknown ¶
func (m *SigningShare) XXX_DiscardUnknown()
func (*SigningShare) XXX_Marshal ¶
func (m *SigningShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigningShare) XXX_Merge ¶
func (m *SigningShare) XXX_Merge(src proto.Message)
func (*SigningShare) XXX_Size ¶
func (m *SigningShare) XXX_Size() int
func (*SigningShare) XXX_Unmarshal ¶
func (m *SigningShare) XXX_Unmarshal(b []byte) error
type VerifiableSecretSharingCommitment ¶
type VerifiableSecretSharingCommitment struct { // Each of these bytes should be the serialization of a group element. Elements [][]byte `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` }
A commitment to a polynomial, as a list of group elements.
func (*VerifiableSecretSharingCommitment) Descriptor ¶
func (*VerifiableSecretSharingCommitment) Descriptor() ([]byte, []int)
func (*VerifiableSecretSharingCommitment) GetElements ¶
func (m *VerifiableSecretSharingCommitment) GetElements() [][]byte
func (*VerifiableSecretSharingCommitment) Marshal ¶
func (m *VerifiableSecretSharingCommitment) Marshal() (dAtA []byte, err error)
func (*VerifiableSecretSharingCommitment) MarshalTo ¶
func (m *VerifiableSecretSharingCommitment) MarshalTo(dAtA []byte) (int, error)
func (*VerifiableSecretSharingCommitment) MarshalToSizedBuffer ¶
func (m *VerifiableSecretSharingCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerifiableSecretSharingCommitment) ProtoMessage ¶
func (*VerifiableSecretSharingCommitment) ProtoMessage()
func (*VerifiableSecretSharingCommitment) Reset ¶
func (m *VerifiableSecretSharingCommitment) Reset()
func (*VerifiableSecretSharingCommitment) Size ¶
func (m *VerifiableSecretSharingCommitment) Size() (n int)
func (*VerifiableSecretSharingCommitment) String ¶
func (m *VerifiableSecretSharingCommitment) String() string
func (*VerifiableSecretSharingCommitment) Unmarshal ¶
func (m *VerifiableSecretSharingCommitment) Unmarshal(dAtA []byte) error
func (*VerifiableSecretSharingCommitment) XXX_DiscardUnknown ¶
func (m *VerifiableSecretSharingCommitment) XXX_DiscardUnknown()
func (*VerifiableSecretSharingCommitment) XXX_Marshal ¶
func (m *VerifiableSecretSharingCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifiableSecretSharingCommitment) XXX_Merge ¶
func (m *VerifiableSecretSharingCommitment) XXX_Merge(src proto.Message)
func (*VerifiableSecretSharingCommitment) XXX_Size ¶
func (m *VerifiableSecretSharingCommitment) XXX_Size() int
func (*VerifiableSecretSharingCommitment) XXX_Unmarshal ¶
func (m *VerifiableSecretSharingCommitment) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.