Versions in this module Expand all Collapse all v1 v1.3.4 Oct 25, 2021 Changes in this version + const TaskName + const TestParticipants + const TestThreshold + var File_protob_eddsa_keygen_proto protoreflect.FileDescriptor + func NewKGRound1Message(from *tss.PartyID, ct cmt.HashCommitment) tss.ParsedMessage + func NewKGRound2Message1(to, from *tss.PartyID, share *vss.Share) tss.ParsedMessage + func NewKGRound2Message2(from *tss.PartyID, deCommitment cmt.HashDeCommitment, proof *schnorr.ZKProof) tss.ParsedMessage + func NewLocalParty(params *tss.Parameters, out chan<- tss.Message, end chan<- LocalPartySaveData) tss.Party + type KGRound1Message struct + Commitment []byte + func (*KGRound1Message) Descriptor() ([]byte, []int) + func (*KGRound1Message) ProtoMessage() + func (m *KGRound1Message) UnmarshalCommitment() *big.Int + func (m *KGRound1Message) ValidateBasic() bool + func (x *KGRound1Message) GetCommitment() []byte + func (x *KGRound1Message) ProtoReflect() protoreflect.Message + func (x *KGRound1Message) Reset() + func (x *KGRound1Message) String() string + type KGRound2Message1 struct + Share []byte + func (*KGRound2Message1) Descriptor() ([]byte, []int) + func (*KGRound2Message1) ProtoMessage() + func (m *KGRound2Message1) UnmarshalShare() *big.Int + func (m *KGRound2Message1) ValidateBasic() bool + func (x *KGRound2Message1) GetShare() []byte + func (x *KGRound2Message1) ProtoReflect() protoreflect.Message + func (x *KGRound2Message1) Reset() + func (x *KGRound2Message1) String() string + type KGRound2Message2 struct + DeCommitment [][]byte + ProofAlphaX []byte + ProofAlphaY []byte + ProofT []byte + func (*KGRound2Message2) Descriptor() ([]byte, []int) + func (*KGRound2Message2) ProtoMessage() + func (m *KGRound2Message2) UnmarshalDeCommitment() []*big.Int + func (m *KGRound2Message2) UnmarshalZKProof(ec elliptic.Curve) (*schnorr.ZKProof, error) + func (m *KGRound2Message2) ValidateBasic() bool + func (x *KGRound2Message2) GetDeCommitment() [][]byte + func (x *KGRound2Message2) GetProofAlphaX() []byte + func (x *KGRound2Message2) GetProofAlphaY() []byte + func (x *KGRound2Message2) GetProofT() []byte + func (x *KGRound2Message2) ProtoReflect() protoreflect.Message + func (x *KGRound2Message2) Reset() + func (x *KGRound2Message2) String() string + type LocalParty struct + 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 LocalPartySaveData struct + BigXj []*crypto.ECPoint + EDDSAPub *crypto.ECPoint + Ks []*big.Int + func BuildLocalSaveDataSubset(sourceData LocalPartySaveData, sortedIDs tss.SortedPartyIDs) LocalPartySaveData + func LoadKeygenTestFixtures(qty int, optionalStart ...int) ([]LocalPartySaveData, tss.SortedPartyIDs, error) + func LoadKeygenTestFixturesRandomSet(qty, fixtureCount int) ([]LocalPartySaveData, tss.SortedPartyIDs, error) + func NewLocalPartySaveData(partyCount int) (saveData LocalPartySaveData) + func (save LocalPartySaveData) OriginalIndex() (int, error) + type LocalSecrets struct + ShareID *big.Int + Xi *big.Int