Documentation ¶
Index ¶
- Constants
- Variables
- func FinalizeGetOurSigShare(state *SignatureData, msg *big.Int) (sI *big.Int)
- func FinalizeWrapError(err error, victim *tss.PartyID, culprits ...*tss.PartyID) *tss.Error
- func NewLocalParty(msg *big.Int, params *tss.Parameters, key keygen.LocalPartySaveData, ...) tss.Party
- func NewLocalPartyWithOneRoundSign(params *tss.Parameters, key keygen.LocalPartySaveData, out chan<- tss.Message, ...) tss.Party
- func NewSignRound1Message1(to, from *tss.PartyID, c *big.Int, proof *mta.RangeProofAlice) tss.ParsedMessage
- func NewSignRound1Message2(from *tss.PartyID, commitment cmt.HashCommitment) tss.ParsedMessage
- func NewSignRound2Message(to, from *tss.PartyID, c1JI *big.Int, pi1JI *mta.ProofBob, c2JI *big.Int, ...) tss.ParsedMessage
- func NewSignRound3Message(from *tss.PartyID, deltaI *big.Int, TI *crypto.ECPoint, tProof *zkp.TProof) tss.ParsedMessage
- func NewSignRound4Message(from *tss.PartyID, deCommitment cmt.HashDeCommitment) tss.ParsedMessage
- func NewSignRound5Message(from *tss.PartyID, Ri *crypto.ECPoint, pdlwSlackPf *zkp.PDLwSlackProof) tss.ParsedMessage
- func NewSignRound6MessageAbort(from *tss.PartyID, data *SignRound6Message_AbortData) tss.ParsedMessage
- func NewSignRound6MessageSuccess(from *tss.PartyID, sI *crypto.ECPoint, proof *zkp.STProof) tss.ParsedMessage
- func NewSignRound7MessageAbort(from *tss.PartyID, data *SignRound7Message_AbortData) tss.ParsedMessage
- func NewSignRound7MessageSuccess(from *tss.PartyID, sI *big.Int) tss.ParsedMessage
- func PrepareForSigning(i, pax int, xi *big.Int, ks []*big.Int, bigXs []*crypto.ECPoint) (wi *big.Int, bigWs []*crypto.ECPoint, err error)
- 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)
- type SignRound1Message1
- func (*SignRound1Message1) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound1Message1) GetC() []byte
- func (x *SignRound1Message1) GetRangeProofAlice() [][]byte
- func (*SignRound1Message1) ProtoMessage()
- func (x *SignRound1Message1) ProtoReflect() protoreflect.Message
- func (x *SignRound1Message1) Reset()
- func (x *SignRound1Message1) String() string
- func (m *SignRound1Message1) UnmarshalC() *big.Int
- func (m *SignRound1Message1) UnmarshalRangeProofAlice() (*mta.RangeProofAlice, error)
- func (m *SignRound1Message1) ValidateBasic() bool
- type SignRound1Message2
- func (*SignRound1Message2) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound1Message2) GetCommitment() []byte
- func (*SignRound1Message2) ProtoMessage()
- func (x *SignRound1Message2) ProtoReflect() protoreflect.Message
- func (x *SignRound1Message2) Reset()
- func (x *SignRound1Message2) String() string
- func (m *SignRound1Message2) UnmarshalCommitment() *big.Int
- func (m *SignRound1Message2) ValidateBasic() bool
- type SignRound2Message
- func (*SignRound2Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound2Message) GetC1() []byte
- func (x *SignRound2Message) GetC2() []byte
- func (x *SignRound2Message) GetProofBob() [][]byte
- func (x *SignRound2Message) GetProofBobWc() [][]byte
- func (*SignRound2Message) ProtoMessage()
- func (x *SignRound2Message) ProtoReflect() protoreflect.Message
- func (x *SignRound2Message) Reset()
- func (x *SignRound2Message) String() string
- func (m *SignRound2Message) UnmarshalProofBob() (*mta.ProofBob, error)
- func (m *SignRound2Message) UnmarshalProofBobWC() (*mta.ProofBobWC, error)
- func (m *SignRound2Message) ValidateBasic() bool
- type SignRound3Message
- func (*SignRound3Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound3Message) GetDeltaI() []byte
- func (x *SignRound3Message) GetTI() *common.ECPoint
- func (x *SignRound3Message) GetTProofAlpha() *common.ECPoint
- func (x *SignRound3Message) GetTProofT() []byte
- func (x *SignRound3Message) GetTProofU() []byte
- func (*SignRound3Message) ProtoMessage()
- func (x *SignRound3Message) ProtoReflect() protoreflect.Message
- func (x *SignRound3Message) Reset()
- func (x *SignRound3Message) String() string
- func (m *SignRound3Message) UnmarshalTI() (*crypto.ECPoint, error)
- func (m *SignRound3Message) UnmarshalTProof() (*zkp.TProof, error)
- func (m *SignRound3Message) ValidateBasic() bool
- type SignRound4Message
- func (*SignRound4Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound4Message) GetDeCommitment() [][]byte
- func (*SignRound4Message) ProtoMessage()
- func (x *SignRound4Message) ProtoReflect() protoreflect.Message
- func (x *SignRound4Message) Reset()
- func (x *SignRound4Message) String() string
- func (m *SignRound4Message) UnmarshalDeCommitment() []*big.Int
- func (m *SignRound4Message) ValidateBasic() bool
- type SignRound5Message
- func (*SignRound5Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound5Message) GetProofPdlWSlack() [][]byte
- func (x *SignRound5Message) GetRI() *common.ECPoint
- func (*SignRound5Message) ProtoMessage()
- func (x *SignRound5Message) ProtoReflect() protoreflect.Message
- func (x *SignRound5Message) Reset()
- func (x *SignRound5Message) String() string
- func (m *SignRound5Message) UnmarshalPDLwSlackProof() (*zkp.PDLwSlackProof, error)
- func (m *SignRound5Message) UnmarshalRI() (*crypto.ECPoint, error)
- func (m *SignRound5Message) ValidateBasic() bool
- type SignRound6Message
- func (*SignRound6Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound6Message) GetAbort() *SignRound6Message_AbortData
- func (m *SignRound6Message) GetContent() isSignRound6Message_Content
- func (x *SignRound6Message) GetSuccess() *SignRound6Message_SuccessData
- func (*SignRound6Message) ProtoMessage()
- func (x *SignRound6Message) ProtoReflect() protoreflect.Message
- func (x *SignRound6Message) Reset()
- func (x *SignRound6Message) String() string
- func (m *SignRound6Message) ValidateBasic() bool
- type SignRound6Message_Abort
- type SignRound6Message_AbortData
- func (*SignRound6Message_AbortData) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound6Message_AbortData) GetAlphaIJ() [][]byte
- func (x *SignRound6Message_AbortData) GetBetaJI() [][]byte
- func (x *SignRound6Message_AbortData) GetGammaI() []byte
- func (x *SignRound6Message_AbortData) GetKI() []byte
- func (*SignRound6Message_AbortData) ProtoMessage()
- func (x *SignRound6Message_AbortData) ProtoReflect() protoreflect.Message
- func (x *SignRound6Message_AbortData) Reset()
- func (x *SignRound6Message_AbortData) String() string
- type SignRound6Message_Success
- type SignRound6Message_SuccessData
- func (*SignRound6Message_SuccessData) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound6Message_SuccessData) GetSI() *common.ECPoint
- func (x *SignRound6Message_SuccessData) GetStProofAlpha() *common.ECPoint
- func (x *SignRound6Message_SuccessData) GetStProofBeta() *common.ECPoint
- func (x *SignRound6Message_SuccessData) GetStProofT() []byte
- func (x *SignRound6Message_SuccessData) GetStProofU() []byte
- func (*SignRound6Message_SuccessData) ProtoMessage()
- func (x *SignRound6Message_SuccessData) ProtoReflect() protoreflect.Message
- func (x *SignRound6Message_SuccessData) Reset()
- func (x *SignRound6Message_SuccessData) String() string
- func (m *SignRound6Message_SuccessData) UnmarshalSI() (*crypto.ECPoint, error)
- func (m *SignRound6Message_SuccessData) UnmarshalSTProof() (*zkp.STProof, error)
- type SignRound7Message
- func (*SignRound7Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound7Message) GetAbort() *SignRound7Message_AbortData
- func (m *SignRound7Message) GetContent() isSignRound7Message_Content
- func (x *SignRound7Message) GetSI() []byte
- func (*SignRound7Message) ProtoMessage()
- func (x *SignRound7Message) ProtoReflect() protoreflect.Message
- func (x *SignRound7Message) Reset()
- func (x *SignRound7Message) String() string
- func (m *SignRound7Message) ValidateBasic() bool
- type SignRound7Message_Abort
- type SignRound7Message_AbortData
- func (*SignRound7Message_AbortData) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound7Message_AbortData) GetEcddhProofA1() *common.ECPoint
- func (x *SignRound7Message_AbortData) GetEcddhProofA2() *common.ECPoint
- func (x *SignRound7Message_AbortData) GetEcddhProofZ() []byte
- func (x *SignRound7Message_AbortData) GetKI() []byte
- func (x *SignRound7Message_AbortData) GetKRandI() []byte
- func (x *SignRound7Message_AbortData) GetMuIJ() [][]byte
- func (x *SignRound7Message_AbortData) GetMuRandIJ() [][]byte
- func (*SignRound7Message_AbortData) ProtoMessage()
- func (x *SignRound7Message_AbortData) ProtoReflect() protoreflect.Message
- func (x *SignRound7Message_AbortData) Reset()
- func (x *SignRound7Message_AbortData) String() string
- func (m *SignRound7Message_AbortData) UnmarshalSigmaIProof() (*zkp.ECDDHProof, error)
- type SignRound7Message_SI
- type SignatureData
- func (*SignatureData) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureData) GetOneRoundData() *SignatureData_OneRoundData
- func (x *SignatureData) GetSignature() *common.ECSignature
- func (*SignatureData) ProtoMessage()
- func (x *SignatureData) ProtoReflect() protoreflect.Message
- func (x *SignatureData) Reset()
- func (x *SignatureData) String() string
- type SignatureData_OneRoundData
- func (*SignatureData_OneRoundData) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureData_OneRoundData) GetBigR() *common.ECPoint
- func (x *SignatureData_OneRoundData) GetBigRBarJ() map[string]*common.ECPoint
- func (x *SignatureData_OneRoundData) GetBigSJ() map[string]*common.ECPoint
- func (x *SignatureData_OneRoundData) GetKI() []byte
- func (x *SignatureData_OneRoundData) GetRSigmaI() []byte
- func (x *SignatureData_OneRoundData) GetT() int32
- func (*SignatureData_OneRoundData) ProtoMessage()
- func (x *SignatureData_OneRoundData) ProtoReflect() protoreflect.Message
- func (x *SignatureData_OneRoundData) Reset()
- func (x *SignatureData_OneRoundData) String() string
Constants ¶
const (
TaskName = "signing"
)
const (
TaskNameFinalize = "signing-finalize"
)
Variables ¶
var File_protob_ecdsa_signature_proto protoreflect.FileDescriptor
var File_protob_ecdsa_signing_proto protoreflect.FileDescriptor
Functions ¶
func FinalizeGetOurSigShare ¶
func FinalizeGetOurSigShare(state *SignatureData, msg *big.Int) (sI *big.Int)
FinalizeGetOurSigShare is called in one-round signing mode after the online rounds have finished to compute s_i.
func FinalizeWrapError ¶
func NewLocalParty ¶
func NewLocalParty( msg *big.Int, params *tss.Parameters, key keygen.LocalPartySaveData, out chan<- tss.Message, end chan<- *SignatureData, ) tss.Party
Constructs a new ECDSA signing party. Note: msg may be left nil for one-round signing mode to only do the pre-processing steps.
func NewLocalPartyWithOneRoundSign ¶
func NewLocalPartyWithOneRoundSign( params *tss.Parameters, key keygen.LocalPartySaveData, out chan<- tss.Message, end chan<- *SignatureData, ) tss.Party
Constructs a new ECDSA signing party for one-round signing. The final SignatureData struct will be a partial struct containing only the data for a final signing round (see the readme).
func NewSignRound1Message1 ¶
func NewSignRound1Message1( to, from *tss.PartyID, c *big.Int, proof *mta.RangeProofAlice, ) tss.ParsedMessage
func NewSignRound1Message2 ¶
func NewSignRound1Message2( from *tss.PartyID, commitment cmt.HashCommitment, ) tss.ParsedMessage
func NewSignRound2Message ¶
func NewSignRound3Message ¶
func NewSignRound4Message ¶
func NewSignRound4Message( from *tss.PartyID, deCommitment cmt.HashDeCommitment, ) tss.ParsedMessage
func NewSignRound5Message ¶
func NewSignRound5Message( from *tss.PartyID, Ri *crypto.ECPoint, pdlwSlackPf *zkp.PDLwSlackProof, ) tss.ParsedMessage
func NewSignRound6MessageAbort ¶
func NewSignRound6MessageAbort( from *tss.PartyID, data *SignRound6Message_AbortData, ) tss.ParsedMessage
func NewSignRound7MessageAbort ¶
func NewSignRound7MessageAbort( from *tss.PartyID, data *SignRound7Message_AbortData, ) tss.ParsedMessage
Types ¶
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)
type SignRound1Message1 ¶
type SignRound1Message1 struct { C []byte `protobuf:"bytes,1,opt,name=c,proto3" json:"c,omitempty"` RangeProofAlice [][]byte `protobuf:"bytes,2,rep,name=range_proof_alice,json=rangeProofAlice,proto3" json:"range_proof_alice,omitempty"` // contains filtered or unexported fields }
Represents a P2P message sent to each party during Phase 1 of the GG20 ECDSA TSS signing protocol.
func (*SignRound1Message1) Descriptor
deprecated
func (*SignRound1Message1) Descriptor() ([]byte, []int)
Deprecated: Use SignRound1Message1.ProtoReflect.Descriptor instead.
func (*SignRound1Message1) GetC ¶
func (x *SignRound1Message1) GetC() []byte
func (*SignRound1Message1) GetRangeProofAlice ¶
func (x *SignRound1Message1) GetRangeProofAlice() [][]byte
func (*SignRound1Message1) ProtoMessage ¶
func (*SignRound1Message1) ProtoMessage()
func (*SignRound1Message1) ProtoReflect ¶
func (x *SignRound1Message1) ProtoReflect() protoreflect.Message
func (*SignRound1Message1) Reset ¶
func (x *SignRound1Message1) Reset()
func (*SignRound1Message1) String ¶
func (x *SignRound1Message1) String() string
func (*SignRound1Message1) UnmarshalC ¶
func (m *SignRound1Message1) UnmarshalC() *big.Int
func (*SignRound1Message1) UnmarshalRangeProofAlice ¶
func (m *SignRound1Message1) UnmarshalRangeProofAlice() (*mta.RangeProofAlice, error)
func (*SignRound1Message1) ValidateBasic ¶
func (m *SignRound1Message1) ValidateBasic() bool
type SignRound1Message2 ¶
type SignRound1Message2 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 Phase 1 of the GG20 ECDSA TSS signing protocol.
func (*SignRound1Message2) Descriptor
deprecated
func (*SignRound1Message2) Descriptor() ([]byte, []int)
Deprecated: Use SignRound1Message2.ProtoReflect.Descriptor instead.
func (*SignRound1Message2) GetCommitment ¶
func (x *SignRound1Message2) GetCommitment() []byte
func (*SignRound1Message2) ProtoMessage ¶
func (*SignRound1Message2) ProtoMessage()
func (*SignRound1Message2) ProtoReflect ¶
func (x *SignRound1Message2) ProtoReflect() protoreflect.Message
func (*SignRound1Message2) Reset ¶
func (x *SignRound1Message2) Reset()
func (*SignRound1Message2) String ¶
func (x *SignRound1Message2) String() string
func (*SignRound1Message2) UnmarshalCommitment ¶
func (m *SignRound1Message2) UnmarshalCommitment() *big.Int
func (*SignRound1Message2) ValidateBasic ¶
func (m *SignRound1Message2) ValidateBasic() bool
type SignRound2Message ¶
type SignRound2Message struct { C1 []byte `protobuf:"bytes,1,opt,name=c1,proto3" json:"c1,omitempty"` C2 []byte `protobuf:"bytes,2,opt,name=c2,proto3" json:"c2,omitempty"` ProofBob [][]byte `protobuf:"bytes,3,rep,name=proof_bob,json=proofBob,proto3" json:"proof_bob,omitempty"` ProofBobWc [][]byte `protobuf:"bytes,4,rep,name=proof_bob_wc,json=proofBobWc,proto3" json:"proof_bob_wc,omitempty"` // contains filtered or unexported fields }
Represents a P2P message sent to each party during Phase 2 of the GG20 ECDSA TSS signing protocol.
func (*SignRound2Message) Descriptor
deprecated
func (*SignRound2Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound2Message.ProtoReflect.Descriptor instead.
func (*SignRound2Message) GetC1 ¶
func (x *SignRound2Message) GetC1() []byte
func (*SignRound2Message) GetC2 ¶
func (x *SignRound2Message) GetC2() []byte
func (*SignRound2Message) GetProofBob ¶
func (x *SignRound2Message) GetProofBob() [][]byte
func (*SignRound2Message) GetProofBobWc ¶
func (x *SignRound2Message) GetProofBobWc() [][]byte
func (*SignRound2Message) ProtoMessage ¶
func (*SignRound2Message) ProtoMessage()
func (*SignRound2Message) ProtoReflect ¶
func (x *SignRound2Message) ProtoReflect() protoreflect.Message
func (*SignRound2Message) Reset ¶
func (x *SignRound2Message) Reset()
func (*SignRound2Message) String ¶
func (x *SignRound2Message) String() string
func (*SignRound2Message) UnmarshalProofBob ¶
func (m *SignRound2Message) UnmarshalProofBob() (*mta.ProofBob, error)
func (*SignRound2Message) UnmarshalProofBobWC ¶
func (m *SignRound2Message) UnmarshalProofBobWC() (*mta.ProofBobWC, error)
func (*SignRound2Message) ValidateBasic ¶
func (m *SignRound2Message) ValidateBasic() bool
type SignRound3Message ¶
type SignRound3Message struct { DeltaI []byte `protobuf:"bytes,1,opt,name=delta_i,json=deltaI,proto3" json:"delta_i,omitempty"` TI *common.ECPoint `protobuf:"bytes,2,opt,name=t_i,json=tI,proto3" json:"t_i,omitempty"` TProofAlpha *common.ECPoint `protobuf:"bytes,3,opt,name=t_proof_alpha,json=tProofAlpha,proto3" json:"t_proof_alpha,omitempty"` TProofT []byte `protobuf:"bytes,4,opt,name=t_proof_t,json=tProofT,proto3" json:"t_proof_t,omitempty"` TProofU []byte `protobuf:"bytes,5,opt,name=t_proof_u,json=tProofU,proto3" json:"t_proof_u,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Phase 3 of the GG20 ECDSA TSS signing protocol.
func (*SignRound3Message) Descriptor
deprecated
func (*SignRound3Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound3Message.ProtoReflect.Descriptor instead.
func (*SignRound3Message) GetDeltaI ¶
func (x *SignRound3Message) GetDeltaI() []byte
func (*SignRound3Message) GetTI ¶
func (x *SignRound3Message) GetTI() *common.ECPoint
func (*SignRound3Message) GetTProofAlpha ¶
func (x *SignRound3Message) GetTProofAlpha() *common.ECPoint
func (*SignRound3Message) GetTProofT ¶
func (x *SignRound3Message) GetTProofT() []byte
func (*SignRound3Message) GetTProofU ¶
func (x *SignRound3Message) GetTProofU() []byte
func (*SignRound3Message) ProtoMessage ¶
func (*SignRound3Message) ProtoMessage()
func (*SignRound3Message) ProtoReflect ¶
func (x *SignRound3Message) ProtoReflect() protoreflect.Message
func (*SignRound3Message) Reset ¶
func (x *SignRound3Message) Reset()
func (*SignRound3Message) String ¶
func (x *SignRound3Message) String() string
func (*SignRound3Message) UnmarshalTI ¶
func (m *SignRound3Message) UnmarshalTI() (*crypto.ECPoint, error)
func (*SignRound3Message) UnmarshalTProof ¶
func (m *SignRound3Message) UnmarshalTProof() (*zkp.TProof, error)
func (*SignRound3Message) ValidateBasic ¶
func (m *SignRound3Message) ValidateBasic() bool
type SignRound4Message ¶
type SignRound4Message struct { DeCommitment [][]byte `protobuf:"bytes,1,rep,name=de_commitment,json=deCommitment,proto3" json:"de_commitment,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Phase 4 of the GG20 ECDSA TSS signing protocol.
func (*SignRound4Message) Descriptor
deprecated
func (*SignRound4Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound4Message.ProtoReflect.Descriptor instead.
func (*SignRound4Message) GetDeCommitment ¶
func (x *SignRound4Message) GetDeCommitment() [][]byte
func (*SignRound4Message) ProtoMessage ¶
func (*SignRound4Message) ProtoMessage()
func (*SignRound4Message) ProtoReflect ¶
func (x *SignRound4Message) ProtoReflect() protoreflect.Message
func (*SignRound4Message) Reset ¶
func (x *SignRound4Message) Reset()
func (*SignRound4Message) String ¶
func (x *SignRound4Message) String() string
func (*SignRound4Message) UnmarshalDeCommitment ¶
func (m *SignRound4Message) UnmarshalDeCommitment() []*big.Int
func (*SignRound4Message) ValidateBasic ¶
func (m *SignRound4Message) ValidateBasic() bool
type SignRound5Message ¶
type SignRound5Message struct { RI *common.ECPoint `protobuf:"bytes,1,opt,name=r_i,json=rI,proto3" json:"r_i,omitempty"` ProofPdlWSlack [][]byte `protobuf:"bytes,2,rep,name=proof_pdl_w_slack,json=proofPdlWSlack,proto3" json:"proof_pdl_w_slack,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Phase 5 of the GG20 ECDSA TSS signing protocol.
func (*SignRound5Message) Descriptor
deprecated
func (*SignRound5Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound5Message.ProtoReflect.Descriptor instead.
func (*SignRound5Message) GetProofPdlWSlack ¶
func (x *SignRound5Message) GetProofPdlWSlack() [][]byte
func (*SignRound5Message) GetRI ¶
func (x *SignRound5Message) GetRI() *common.ECPoint
func (*SignRound5Message) ProtoMessage ¶
func (*SignRound5Message) ProtoMessage()
func (*SignRound5Message) ProtoReflect ¶
func (x *SignRound5Message) ProtoReflect() protoreflect.Message
func (*SignRound5Message) Reset ¶
func (x *SignRound5Message) Reset()
func (*SignRound5Message) String ¶
func (x *SignRound5Message) String() string
func (*SignRound5Message) UnmarshalPDLwSlackProof ¶
func (m *SignRound5Message) UnmarshalPDLwSlackProof() (*zkp.PDLwSlackProof, error)
func (*SignRound5Message) UnmarshalRI ¶
func (m *SignRound5Message) UnmarshalRI() (*crypto.ECPoint, error)
func (*SignRound5Message) ValidateBasic ¶
func (m *SignRound5Message) ValidateBasic() bool
type SignRound6Message ¶
type SignRound6Message struct { // Types that are assignable to Content: // *SignRound6Message_Success // *SignRound6Message_Abort Content isSignRound6Message_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Phase 6 of the GG20 ECDSA TSS signing protocol.
func (*SignRound6Message) Descriptor
deprecated
func (*SignRound6Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound6Message.ProtoReflect.Descriptor instead.
func (*SignRound6Message) GetAbort ¶
func (x *SignRound6Message) GetAbort() *SignRound6Message_AbortData
func (*SignRound6Message) GetContent ¶
func (m *SignRound6Message) GetContent() isSignRound6Message_Content
func (*SignRound6Message) GetSuccess ¶
func (x *SignRound6Message) GetSuccess() *SignRound6Message_SuccessData
func (*SignRound6Message) ProtoMessage ¶
func (*SignRound6Message) ProtoMessage()
func (*SignRound6Message) ProtoReflect ¶
func (x *SignRound6Message) ProtoReflect() protoreflect.Message
func (*SignRound6Message) Reset ¶
func (x *SignRound6Message) Reset()
func (*SignRound6Message) String ¶
func (x *SignRound6Message) String() string
func (*SignRound6Message) ValidateBasic ¶
func (m *SignRound6Message) ValidateBasic() bool
type SignRound6Message_Abort ¶
type SignRound6Message_Abort struct {
Abort *SignRound6Message_AbortData `protobuf:"bytes,2,opt,name=abort,proto3,oneof"`
}
type SignRound6Message_AbortData ¶
type SignRound6Message_AbortData struct { KI []byte `protobuf:"bytes,1,opt,name=k_i,json=kI,proto3" json:"k_i,omitempty"` GammaI []byte `protobuf:"bytes,3,opt,name=gamma_i,json=gammaI,proto3" json:"gamma_i,omitempty"` AlphaIJ [][]byte `protobuf:"bytes,4,rep,name=alpha_i_j,json=alphaIJ,proto3" json:"alpha_i_j,omitempty"` BetaJI [][]byte `protobuf:"bytes,5,rep,name=beta_j_i,json=betaJI,proto3" json:"beta_j_i,omitempty"` // contains filtered or unexported fields }
func (*SignRound6Message_AbortData) Descriptor
deprecated
func (*SignRound6Message_AbortData) Descriptor() ([]byte, []int)
Deprecated: Use SignRound6Message_AbortData.ProtoReflect.Descriptor instead.
func (*SignRound6Message_AbortData) GetAlphaIJ ¶
func (x *SignRound6Message_AbortData) GetAlphaIJ() [][]byte
func (*SignRound6Message_AbortData) GetBetaJI ¶
func (x *SignRound6Message_AbortData) GetBetaJI() [][]byte
func (*SignRound6Message_AbortData) GetGammaI ¶
func (x *SignRound6Message_AbortData) GetGammaI() []byte
func (*SignRound6Message_AbortData) GetKI ¶
func (x *SignRound6Message_AbortData) GetKI() []byte
func (*SignRound6Message_AbortData) ProtoMessage ¶
func (*SignRound6Message_AbortData) ProtoMessage()
func (*SignRound6Message_AbortData) ProtoReflect ¶
func (x *SignRound6Message_AbortData) ProtoReflect() protoreflect.Message
func (*SignRound6Message_AbortData) Reset ¶
func (x *SignRound6Message_AbortData) Reset()
func (*SignRound6Message_AbortData) String ¶
func (x *SignRound6Message_AbortData) String() string
type SignRound6Message_Success ¶
type SignRound6Message_Success struct {
Success *SignRound6Message_SuccessData `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type SignRound6Message_SuccessData ¶
type SignRound6Message_SuccessData struct { SI *common.ECPoint `protobuf:"bytes,1,opt,name=s_i,json=sI,proto3" json:"s_i,omitempty"` StProofAlpha *common.ECPoint `protobuf:"bytes,2,opt,name=st_proof_alpha,json=stProofAlpha,proto3" json:"st_proof_alpha,omitempty"` StProofBeta *common.ECPoint `protobuf:"bytes,3,opt,name=st_proof_beta,json=stProofBeta,proto3" json:"st_proof_beta,omitempty"` StProofT []byte `protobuf:"bytes,4,opt,name=st_proof_t,json=stProofT,proto3" json:"st_proof_t,omitempty"` StProofU []byte `protobuf:"bytes,5,opt,name=st_proof_u,json=stProofU,proto3" json:"st_proof_u,omitempty"` // contains filtered or unexported fields }
func (*SignRound6Message_SuccessData) Descriptor
deprecated
func (*SignRound6Message_SuccessData) Descriptor() ([]byte, []int)
Deprecated: Use SignRound6Message_SuccessData.ProtoReflect.Descriptor instead.
func (*SignRound6Message_SuccessData) GetSI ¶
func (x *SignRound6Message_SuccessData) GetSI() *common.ECPoint
func (*SignRound6Message_SuccessData) GetStProofAlpha ¶
func (x *SignRound6Message_SuccessData) GetStProofAlpha() *common.ECPoint
func (*SignRound6Message_SuccessData) GetStProofBeta ¶
func (x *SignRound6Message_SuccessData) GetStProofBeta() *common.ECPoint
func (*SignRound6Message_SuccessData) GetStProofT ¶
func (x *SignRound6Message_SuccessData) GetStProofT() []byte
func (*SignRound6Message_SuccessData) GetStProofU ¶
func (x *SignRound6Message_SuccessData) GetStProofU() []byte
func (*SignRound6Message_SuccessData) ProtoMessage ¶
func (*SignRound6Message_SuccessData) ProtoMessage()
func (*SignRound6Message_SuccessData) ProtoReflect ¶
func (x *SignRound6Message_SuccessData) ProtoReflect() protoreflect.Message
func (*SignRound6Message_SuccessData) Reset ¶
func (x *SignRound6Message_SuccessData) Reset()
func (*SignRound6Message_SuccessData) String ¶
func (x *SignRound6Message_SuccessData) String() string
func (*SignRound6Message_SuccessData) UnmarshalSI ¶
func (m *SignRound6Message_SuccessData) UnmarshalSI() (*crypto.ECPoint, error)
func (*SignRound6Message_SuccessData) UnmarshalSTProof ¶
func (m *SignRound6Message_SuccessData) UnmarshalSTProof() (*zkp.STProof, error)
type SignRound7Message ¶
type SignRound7Message struct { // Types that are assignable to Content: // *SignRound7Message_SI // *SignRound7Message_Abort Content isSignRound7Message_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during online mode Phase 7 of the GG20 ECDSA TSS signing protocol.
func (*SignRound7Message) Descriptor
deprecated
func (*SignRound7Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound7Message.ProtoReflect.Descriptor instead.
func (*SignRound7Message) GetAbort ¶
func (x *SignRound7Message) GetAbort() *SignRound7Message_AbortData
func (*SignRound7Message) GetContent ¶
func (m *SignRound7Message) GetContent() isSignRound7Message_Content
func (*SignRound7Message) GetSI ¶
func (x *SignRound7Message) GetSI() []byte
func (*SignRound7Message) ProtoMessage ¶
func (*SignRound7Message) ProtoMessage()
func (*SignRound7Message) ProtoReflect ¶
func (x *SignRound7Message) ProtoReflect() protoreflect.Message
func (*SignRound7Message) Reset ¶
func (x *SignRound7Message) Reset()
func (*SignRound7Message) String ¶
func (x *SignRound7Message) String() string
func (*SignRound7Message) ValidateBasic ¶
func (m *SignRound7Message) ValidateBasic() bool
type SignRound7Message_Abort ¶
type SignRound7Message_Abort struct {
Abort *SignRound7Message_AbortData `protobuf:"bytes,2,opt,name=abort,proto3,oneof"`
}
type SignRound7Message_AbortData ¶
type SignRound7Message_AbortData struct { KI []byte `protobuf:"bytes,1,opt,name=k_i,json=kI,proto3" json:"k_i,omitempty"` KRandI []byte `protobuf:"bytes,2,opt,name=k_rand_i,json=kRandI,proto3" json:"k_rand_i,omitempty"` MuIJ [][]byte `protobuf:"bytes,3,rep,name=mu_i_j,json=muIJ,proto3" json:"mu_i_j,omitempty"` MuRandIJ [][]byte `protobuf:"bytes,4,rep,name=mu_rand_i_j,json=muRandIJ,proto3" json:"mu_rand_i_j,omitempty"` EcddhProofA1 *common.ECPoint `protobuf:"bytes,5,opt,name=ecddh_proof_a1,json=ecddhProofA1,proto3" json:"ecddh_proof_a1,omitempty"` EcddhProofA2 *common.ECPoint `protobuf:"bytes,6,opt,name=ecddh_proof_a2,json=ecddhProofA2,proto3" json:"ecddh_proof_a2,omitempty"` EcddhProofZ []byte `protobuf:"bytes,7,opt,name=ecddh_proof_z,json=ecddhProofZ,proto3" json:"ecddh_proof_z,omitempty"` // contains filtered or unexported fields }
func (*SignRound7Message_AbortData) Descriptor
deprecated
func (*SignRound7Message_AbortData) Descriptor() ([]byte, []int)
Deprecated: Use SignRound7Message_AbortData.ProtoReflect.Descriptor instead.
func (*SignRound7Message_AbortData) GetEcddhProofA1 ¶
func (x *SignRound7Message_AbortData) GetEcddhProofA1() *common.ECPoint
func (*SignRound7Message_AbortData) GetEcddhProofA2 ¶
func (x *SignRound7Message_AbortData) GetEcddhProofA2() *common.ECPoint
func (*SignRound7Message_AbortData) GetEcddhProofZ ¶
func (x *SignRound7Message_AbortData) GetEcddhProofZ() []byte
func (*SignRound7Message_AbortData) GetKI ¶
func (x *SignRound7Message_AbortData) GetKI() []byte
func (*SignRound7Message_AbortData) GetKRandI ¶
func (x *SignRound7Message_AbortData) GetKRandI() []byte
func (*SignRound7Message_AbortData) GetMuIJ ¶
func (x *SignRound7Message_AbortData) GetMuIJ() [][]byte
func (*SignRound7Message_AbortData) GetMuRandIJ ¶
func (x *SignRound7Message_AbortData) GetMuRandIJ() [][]byte
func (*SignRound7Message_AbortData) ProtoMessage ¶
func (*SignRound7Message_AbortData) ProtoMessage()
func (*SignRound7Message_AbortData) ProtoReflect ¶
func (x *SignRound7Message_AbortData) ProtoReflect() protoreflect.Message
func (*SignRound7Message_AbortData) Reset ¶
func (x *SignRound7Message_AbortData) Reset()
func (*SignRound7Message_AbortData) String ¶
func (x *SignRound7Message_AbortData) String() string
func (*SignRound7Message_AbortData) UnmarshalSigmaIProof ¶
func (m *SignRound7Message_AbortData) UnmarshalSigmaIProof() (*zkp.ECDDHProof, error)
type SignRound7Message_SI ¶
type SignRound7Message_SI struct {
SI []byte `protobuf:"bytes,1,opt,name=s_i,json=sI,proto3,oneof"`
}
type SignatureData ¶
type SignatureData struct { Signature *common.ECSignature `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` OneRoundData *SignatureData_OneRoundData `protobuf:"bytes,11,opt,name=one_round_data,json=oneRoundData,proto3" json:"one_round_data,omitempty"` // contains filtered or unexported fields }
State object for signatures, either partial (for offline/async "one round" signing) or full (contains the final ECDSA signature).
func FinalizeGetAndVerifyFinalSig ¶
func FinalizeGetAndVerifyFinalSig( state *SignatureData, pk *ecdsa.PublicKey, msg *big.Int, ourP *tss.PartyID, ourSI *big.Int, otherSIs map[*tss.PartyID]*big.Int, ) (*SignatureData, *btcec.Signature, *tss.Error)
FinalizeGetOurSigShare is called in one-round signing mode to build a final signature given others' s_i shares and a msg. Note: each P in otherPs should correspond with that P's s_i at the same index in otherSIs.
func (*SignatureData) Descriptor
deprecated
func (*SignatureData) Descriptor() ([]byte, []int)
Deprecated: Use SignatureData.ProtoReflect.Descriptor instead.
func (*SignatureData) GetOneRoundData ¶
func (x *SignatureData) GetOneRoundData() *SignatureData_OneRoundData
func (*SignatureData) GetSignature ¶
func (x *SignatureData) GetSignature() *common.ECSignature
func (*SignatureData) ProtoMessage ¶
func (*SignatureData) ProtoMessage()
func (*SignatureData) ProtoReflect ¶
func (x *SignatureData) ProtoReflect() protoreflect.Message
func (*SignatureData) Reset ¶
func (x *SignatureData) Reset()
func (*SignatureData) String ¶
func (x *SignatureData) String() string
type SignatureData_OneRoundData ¶
type SignatureData_OneRoundData struct { // Sanity check in FinalizeGetAndVerifyFinalSig T int32 `protobuf:"varint,1,opt,name=t,proto3" json:"t,omitempty"` // Components to produce s = sum(s_i) KI []byte `protobuf:"bytes,2,opt,name=k_i,json=kI,proto3" json:"k_i,omitempty"` RSigmaI []byte `protobuf:"bytes,3,opt,name=r_sigma_i,json=rSigmaI,proto3" json:"r_sigma_i,omitempty"` BigR *common.ECPoint `protobuf:"bytes,4,opt,name=big_r,json=bigR,proto3" json:"big_r,omitempty"` // Components for identifiable aborts during the final phase BigRBarJ map[string]*common.ECPoint `` /* 177-byte string literal not displayed */ BigSJ map[string]*common.ECPoint `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SignatureData_OneRoundData) Descriptor
deprecated
func (*SignatureData_OneRoundData) Descriptor() ([]byte, []int)
Deprecated: Use SignatureData_OneRoundData.ProtoReflect.Descriptor instead.
func (*SignatureData_OneRoundData) GetBigR ¶
func (x *SignatureData_OneRoundData) GetBigR() *common.ECPoint
func (*SignatureData_OneRoundData) GetBigRBarJ ¶
func (x *SignatureData_OneRoundData) GetBigRBarJ() map[string]*common.ECPoint
func (*SignatureData_OneRoundData) GetBigSJ ¶
func (x *SignatureData_OneRoundData) GetBigSJ() map[string]*common.ECPoint
func (*SignatureData_OneRoundData) GetKI ¶
func (x *SignatureData_OneRoundData) GetKI() []byte
func (*SignatureData_OneRoundData) GetRSigmaI ¶
func (x *SignatureData_OneRoundData) GetRSigmaI() []byte
func (*SignatureData_OneRoundData) GetT ¶
func (x *SignatureData_OneRoundData) GetT() int32
func (*SignatureData_OneRoundData) ProtoMessage ¶
func (*SignatureData_OneRoundData) ProtoMessage()
func (*SignatureData_OneRoundData) ProtoReflect ¶
func (x *SignatureData_OneRoundData) ProtoReflect() protoreflect.Message
func (*SignatureData_OneRoundData) Reset ¶
func (x *SignatureData_OneRoundData) Reset()
func (*SignatureData_OneRoundData) String ¶
func (x *SignatureData_OneRoundData) String() string