Documentation ¶
Index ¶
- Constants
- Variables
- func NewEDSignRound1Message(from *tss.PartyID, commitment cmt.HashCommitment) tss.ParsedMessage
- func NewEDSignRound2Message(from *tss.PartyID, deCommitment cmt.HashDeCommitment, proof *zkp.DLogProof) tss.ParsedMessage
- func NewEDSignRound3Message(from *tss.PartyID, si *big.Int) tss.ParsedMessage
- func NewLocalParty(msg *big.Int, params *tss.Parameters, key keygen.LocalPartySaveData, ...) tss.Party
- func PrepareForSigning(i, pax int, xi *big.Int, ks []*big.Int) (wi *big.Int)
- type EDSignRound1Message
- func (*EDSignRound1Message) Descriptor() ([]byte, []int)deprecated
- func (x *EDSignRound1Message) GetCommitment() []byte
- func (*EDSignRound1Message) ProtoMessage()
- func (x *EDSignRound1Message) ProtoReflect() protoreflect.Message
- func (x *EDSignRound1Message) Reset()
- func (x *EDSignRound1Message) String() string
- func (m *EDSignRound1Message) UnmarshalCommitment() *big.Int
- func (m *EDSignRound1Message) ValidateBasic() bool
- type EDSignRound2Message
- func (*EDSignRound2Message) Descriptor() ([]byte, []int)deprecated
- func (x *EDSignRound2Message) GetDeCommitment() [][]byte
- func (x *EDSignRound2Message) GetProofAlpha() *common.ECPoint
- func (x *EDSignRound2Message) GetProofT() []byte
- func (*EDSignRound2Message) ProtoMessage()
- func (x *EDSignRound2Message) ProtoReflect() protoreflect.Message
- func (x *EDSignRound2Message) Reset()
- func (x *EDSignRound2Message) String() string
- func (m *EDSignRound2Message) UnmarshalDeCommitment() []*big.Int
- func (m *EDSignRound2Message) UnmarshalZKProof() (*zkp.DLogProof, error)
- func (m *EDSignRound2Message) ValidateBasic() bool
- type EDSignRound3Message
- func (*EDSignRound3Message) Descriptor() ([]byte, []int)deprecated
- func (x *EDSignRound3Message) GetS() []byte
- func (*EDSignRound3Message) ProtoMessage()
- func (x *EDSignRound3Message) ProtoReflect() protoreflect.Message
- func (x *EDSignRound3Message) Reset()
- func (x *EDSignRound3Message) String() string
- func (m *EDSignRound3Message) UnmarshalS() *big.Int
- func (m *EDSignRound3Message) ValidateBasic() bool
- type EDSignatureData
- func (*EDSignatureData) Descriptor() ([]byte, []int)deprecated
- func (x *EDSignatureData) GetSignature() *common.ECSignature
- func (*EDSignatureData) ProtoMessage()
- func (x *EDSignatureData) ProtoReflect() protoreflect.Message
- func (x *EDSignatureData) Reset()
- func (x *EDSignatureData) String() string
- type LocalParty
- func (p *LocalParty) FirstRound() tss.Round
- func (p *LocalParty) PartyID() *tss.PartyID
- func (p *LocalParty) Start() *tss.Error
- func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
- func (p *LocalParty) String() string
- func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
- func (p *LocalParty) UpdateFromBytes(wireBytes []byte, from *tss.PartyID, isBroadcast bool) (bool, *tss.Error)
- func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
Constants ¶
View Source
const (
TaskName = "eddsa-signing"
)
Variables ¶
View Source
var File_protob_eddsa_signature_proto protoreflect.FileDescriptor
View Source
var File_protob_eddsa_signing_proto protoreflect.FileDescriptor
Functions ¶
func NewEDSignRound1Message ¶
func NewEDSignRound1Message( from *tss.PartyID, commitment cmt.HashCommitment, ) tss.ParsedMessage
func NewEDSignRound2Message ¶
func NewEDSignRound2Message( from *tss.PartyID, deCommitment cmt.HashDeCommitment, proof *zkp.DLogProof, ) tss.ParsedMessage
func NewEDSignRound3Message ¶
func NewLocalParty ¶
func NewLocalParty( msg *big.Int, params *tss.Parameters, key keygen.LocalPartySaveData, out chan<- tss.Message, end chan<- *SignatureData, ) tss.Party
Types ¶
type EDSignRound1Message ¶
type EDSignRound1Message struct { Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Round 1 of the EDDSA TSS signing protocol.
func (*EDSignRound1Message) Descriptor
deprecated
func (*EDSignRound1Message) Descriptor() ([]byte, []int)
Deprecated: Use EDSignRound1Message.ProtoReflect.Descriptor instead.
func (*EDSignRound1Message) GetCommitment ¶
func (x *EDSignRound1Message) GetCommitment() []byte
func (*EDSignRound1Message) ProtoMessage ¶
func (*EDSignRound1Message) ProtoMessage()
func (*EDSignRound1Message) ProtoReflect ¶
func (x *EDSignRound1Message) ProtoReflect() protoreflect.Message
func (*EDSignRound1Message) Reset ¶
func (x *EDSignRound1Message) Reset()
func (*EDSignRound1Message) String ¶
func (x *EDSignRound1Message) String() string
func (*EDSignRound1Message) UnmarshalCommitment ¶
func (m *EDSignRound1Message) UnmarshalCommitment() *big.Int
func (*EDSignRound1Message) ValidateBasic ¶
func (m *EDSignRound1Message) ValidateBasic() bool
type EDSignRound2Message ¶
type EDSignRound2Message struct { DeCommitment [][]byte `protobuf:"bytes,1,rep,name=de_commitment,json=deCommitment,proto3" json:"de_commitment,omitempty"` ProofAlpha *common.ECPoint `protobuf:"bytes,2,opt,name=proof_alpha,json=proofAlpha,proto3" json:"proof_alpha,omitempty"` ProofT []byte `protobuf:"bytes,3,opt,name=proof_t,json=proofT,proto3" json:"proof_t,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Round 2 of the EDDSA TSS signing protocol.
func (*EDSignRound2Message) Descriptor
deprecated
func (*EDSignRound2Message) Descriptor() ([]byte, []int)
Deprecated: Use EDSignRound2Message.ProtoReflect.Descriptor instead.
func (*EDSignRound2Message) GetDeCommitment ¶
func (x *EDSignRound2Message) GetDeCommitment() [][]byte
func (*EDSignRound2Message) GetProofAlpha ¶
func (x *EDSignRound2Message) GetProofAlpha() *common.ECPoint
func (*EDSignRound2Message) GetProofT ¶
func (x *EDSignRound2Message) GetProofT() []byte
func (*EDSignRound2Message) ProtoMessage ¶
func (*EDSignRound2Message) ProtoMessage()
func (*EDSignRound2Message) ProtoReflect ¶
func (x *EDSignRound2Message) ProtoReflect() protoreflect.Message
func (*EDSignRound2Message) Reset ¶
func (x *EDSignRound2Message) Reset()
func (*EDSignRound2Message) String ¶
func (x *EDSignRound2Message) String() string
func (*EDSignRound2Message) UnmarshalDeCommitment ¶
func (m *EDSignRound2Message) UnmarshalDeCommitment() []*big.Int
func (*EDSignRound2Message) UnmarshalZKProof ¶
func (m *EDSignRound2Message) UnmarshalZKProof() (*zkp.DLogProof, error)
func (*EDSignRound2Message) ValidateBasic ¶
func (m *EDSignRound2Message) ValidateBasic() bool
type EDSignRound3Message ¶
type EDSignRound3Message struct { S []byte `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Round 3 of the EDDSA TSS signing protocol.
func (*EDSignRound3Message) Descriptor
deprecated
func (*EDSignRound3Message) Descriptor() ([]byte, []int)
Deprecated: Use EDSignRound3Message.ProtoReflect.Descriptor instead.
func (*EDSignRound3Message) GetS ¶
func (x *EDSignRound3Message) GetS() []byte
func (*EDSignRound3Message) ProtoMessage ¶
func (*EDSignRound3Message) ProtoMessage()
func (*EDSignRound3Message) ProtoReflect ¶
func (x *EDSignRound3Message) ProtoReflect() protoreflect.Message
func (*EDSignRound3Message) Reset ¶
func (x *EDSignRound3Message) Reset()
func (*EDSignRound3Message) String ¶
func (x *EDSignRound3Message) String() string
func (*EDSignRound3Message) UnmarshalS ¶
func (m *EDSignRound3Message) UnmarshalS() *big.Int
func (*EDSignRound3Message) ValidateBasic ¶
func (m *EDSignRound3Message) ValidateBasic() bool
type EDSignatureData ¶
type EDSignatureData struct { Signature *common.ECSignature `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
State object for signatures, contains the final EdDSA signature.
func (*EDSignatureData) Descriptor
deprecated
func (*EDSignatureData) Descriptor() ([]byte, []int)
Deprecated: Use EDSignatureData.ProtoReflect.Descriptor instead.
func (*EDSignatureData) GetSignature ¶
func (x *EDSignatureData) GetSignature() *common.ECSignature
func (*EDSignatureData) ProtoMessage ¶
func (*EDSignatureData) ProtoMessage()
func (*EDSignatureData) ProtoReflect ¶
func (x *EDSignatureData) ProtoReflect() protoreflect.Message
func (*EDSignatureData) Reset ¶
func (x *EDSignatureData) Reset()
func (*EDSignatureData) String ¶
func (x *EDSignatureData) String() string
type LocalParty ¶
func (*LocalParty) FirstRound ¶
func (p *LocalParty) FirstRound() tss.Round
func (*LocalParty) PartyID ¶
func (p *LocalParty) PartyID() *tss.PartyID
func (*LocalParty) Start ¶
func (p *LocalParty) Start() *tss.Error
func (*LocalParty) StoreMessage ¶
func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
func (*LocalParty) String ¶
func (p *LocalParty) String() string
func (*LocalParty) Update ¶
func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
func (*LocalParty) UpdateFromBytes ¶
func (*LocalParty) ValidateMessage ¶
func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
Click to show internal directories.
Click to hide internal directories.