Versions in this module Expand all Collapse all v1 v1.0.2 Jun 3, 2024 v1.0.1 May 22, 2024 Changes in this version + func GeneratePublic(threshold party.Size, secretShares map[party.ID]*eddsa.SecretShare) *eddsa.Public + func GenerateSecrets(set party.IDSlice, threshold party.Size) (*ristretto.Scalar, map[party.ID]*eddsa.SecretShare) + func GenerateSet(n party.Size) party.IDSlice + func MarshalKGOutState(s *KeyGenOutState) ([]byte, error) + func NewPartySlice(n party.Size) party.IDSlice + func PartyRoutine(in [][]byte, s *state.State) ([][]byte, error) + func ResetKeygenOutputPointee(state *KeyGenOutState) + func ResetSignOutputPointee(state *MPCSignatureOutState) + func UnmarshalKGOutState(s *KeyGenOutState, data []byte) error + func UnmarshalKGState(newState *state.State, data []byte) error + func UnmarshalSignRound(roundData []byte, roundNum int) (state.Round, error) + type FKeyGenOutput struct + Secrets map[party.ID]*eddsa.SecretShare + Shares *eddsa.Public + type KeyGenOutState struct + Message1 [][]byte + Message2 [][]byte + Output *keygen.Output + PartyID party.ID + State *state.State + StateData []byte + func (s *KeyGenOutState) SetOutput(o *keygen.Output) + type KeyGenOutStateJSON struct + Message1 [][]byte + Message2 [][]byte + Output []byte + PartyID party.ID + State []byte + StateData []byte + type MPCSignatureOutState struct + GroupKey *eddsa.PublicKey + Message1 [][]byte + Message2 [][]byte + Output *sign.Output + PartyID party.ID + State *state.State + func (s *MPCSignatureOutState) MarshalJSON() ([]byte, error) + func (s *MPCSignatureOutState) UnmarshalJSON(data []byte) error + type MPCSignatureOutStateJSON struct + GroupKey []byte + Message1 [][]byte + Message2 [][]byte + Output []byte + PartyID uint16 + State []byte