Versions in this module Expand all Collapse all v0 v0.1.7 Oct 27, 2023 Changes in this version + const TaskName + const TestParticipants + const TestThreshold + var File_protob_ecdsa_keygen_proto protoreflect.FileDescriptor + func LoadNTildeH1H2FromTestFixture(idx int) (NTildei, h1i, h2i *big.Int, err error) + func NewKGRound1Message(from *tss.PartyID, ct cmt.HashCommitment, paillierPK *paillier.PublicKey, ...) (tss.ParsedMessage, error) + func NewKGRound2Message1(to, from *tss.PartyID, share *vss.Share, proof *facproof.ProofFac) tss.ParsedMessage + func NewKGRound2Message2(from *tss.PartyID, deCommitment cmt.HashDeCommitment) tss.ParsedMessage + func NewKGRound3Message(from *tss.PartyID, proof paillier.Proof) tss.ParsedMessage + func NewLocalParty(params *tss.Parameters, out chan<- tss.Message, end chan<- LocalPartySaveData, ...) tss.Party + type KGRound1Message struct + Commitment []byte + Dlnproof_1 [][]byte + Dlnproof_2 [][]byte + H1 []byte + H2 []byte + NTilde []byte + PaillierN []byte + func (*KGRound1Message) Descriptor() ([]byte, []int) + func (*KGRound1Message) ProtoMessage() + func (m *KGRound1Message) UnmarshalCommitment() *big.Int + func (m *KGRound1Message) UnmarshalDLNProof1() (*dlnp.Proof, error) + func (m *KGRound1Message) UnmarshalDLNProof2() (*dlnp.Proof, error) + func (m *KGRound1Message) UnmarshalH1() *big.Int + func (m *KGRound1Message) UnmarshalH2() *big.Int + func (m *KGRound1Message) UnmarshalNTilde() *big.Int + func (m *KGRound1Message) UnmarshalPaillierPK() *paillier.PublicKey + func (m *KGRound1Message) ValidateBasic() bool + func (x *KGRound1Message) GetCommitment() []byte + func (x *KGRound1Message) GetDlnproof_1() [][]byte + func (x *KGRound1Message) GetDlnproof_2() [][]byte + func (x *KGRound1Message) GetH1() []byte + func (x *KGRound1Message) GetH2() []byte + func (x *KGRound1Message) GetNTilde() []byte + func (x *KGRound1Message) GetPaillierN() []byte + func (x *KGRound1Message) ProtoReflect() protoreflect.Message + func (x *KGRound1Message) Reset() + func (x *KGRound1Message) String() string + type KGRound2Message1 struct + FacProof [][]byte + Share []byte + func (*KGRound2Message1) Descriptor() ([]byte, []int) + func (*KGRound2Message1) ProtoMessage() + func (m *KGRound2Message1) UnmarshalFacProof() (*facproof.ProofFac, error) + func (m *KGRound2Message1) UnmarshalShare() *big.Int + func (m *KGRound2Message1) ValidateBasic() bool + func (x *KGRound2Message1) GetFacProof() [][]byte + 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 + func (*KGRound2Message2) Descriptor() ([]byte, []int) + func (*KGRound2Message2) ProtoMessage() + func (m *KGRound2Message2) UnmarshalDeCommitment() []*big.Int + func (m *KGRound2Message2) ValidateBasic() bool + func (x *KGRound2Message2) GetDeCommitment() [][]byte + func (x *KGRound2Message2) ProtoReflect() protoreflect.Message + func (x *KGRound2Message2) Reset() + func (x *KGRound2Message2) String() string + type KGRound3Message struct + PaillierProof [][]byte + func (*KGRound3Message) Descriptor() ([]byte, []int) + func (*KGRound3Message) ProtoMessage() + func (m *KGRound3Message) UnmarshalProofInts() paillier.Proof + func (m *KGRound3Message) ValidateBasic() bool + func (x *KGRound3Message) GetPaillierProof() [][]byte + func (x *KGRound3Message) ProtoReflect() protoreflect.Message + func (x *KGRound3Message) Reset() + func (x *KGRound3Message) 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 + ECDSAPub *crypto.ECPoint + H1j []*big.Int + H2j []*big.Int + Ks []*big.Int + NTildej []*big.Int + PaillierPKs []*paillier.PublicKey + 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 LocalPreParams struct + Alpha *big.Int + Beta *big.Int + H1i *big.Int + H2i *big.Int + NTildei *big.Int + P *big.Int + PaillierSK *paillier.PrivateKey + Q *big.Int + func GeneratePreParams(timeout time.Duration, optionalConcurrency ...int) (*LocalPreParams, error) + func (preParams LocalPreParams) Validate() bool + func (preParams LocalPreParams) ValidateWithProof() bool + type LocalSecrets struct + ShareID *big.Int + Xi *big.Int