Versions in this module Expand all Collapse all v1 v1.7.1 Mar 11, 2022 Changes in this version + type DkgParticipant struct + Curve elliptic.Curve + Round uint + func (dp *DkgParticipant) DkgRound1(threshold, total uint32) (*DkgRound1Bcast, error) + func (dp *DkgParticipant) DkgRound2(params map[uint32]*DkgRound1Bcast) (*DkgRound2Bcast, map[uint32]*DkgRound2P2PSend, error) + func (dp *DkgParticipant) DkgRound3(d map[uint32]*core.Witness, x map[uint32]*v1.ShamirShare) (paillier.PsfProof, error) + func (dp *DkgParticipant) DkgRound4(psfProof map[uint32]paillier.PsfProof) (*DkgResult, error) + type DkgParticipantData struct + ProofParams *dealer.ProofParams + PublicKey *paillier.PublicKey + type DkgResult struct + EncryptionKey *paillier.SecretKey + ParticipantData map[uint32]*DkgParticipantData + PublicShares []*curves.EcPoint + SigningKeyShare *big.Int + VerificationKey *curves.EcPoint + type DkgRound1Bcast struct + Ci core.Commitment + H1i *big.Int + H2i *big.Int + Identifier uint32 + Ni *big.Int + Pki *paillier.PublicKey + Proof1i *proof.CdlProof + Proof2i *proof.CdlProof + type DkgRound2Bcast struct + Di *core.Witness + type DkgRound2P2PSend struct + type P2PSend struct + Proof2 proof.ResponseFinalizer + Proof3 proof.ResponseFinalizer + func (p2ps *P2PSend) UnmarshalJSON(bytes []byte) error + type Participant struct + func (p Participant) PrepareToSign(pubKey *curves.EcPoint, verify curves.EcdsaVerify, curve elliptic.Curve, ...) (*Signer, error) + type Round1Bcast struct + C core.Commitment + Ctxt *big.Int + Identifier uint32 + Proof *proof.Range1Proof + type Round1P2PSend = proof.Range1Proof + type Round3Bcast struct + func (r3b *Round3Bcast) UnmarshalJSON(data []byte) error + func (r3b Round3Bcast) MarshalJSON() ([]byte, error) + type Round3BcastJSON struct + DeltaElement *big.Int + type Round4Bcast struct + Witness *core.Witness + type Round5Bcast struct + Proof *proof.PdlProof + Rbar *curves.EcPoint + type Round5P2PSend = proof.PdlProof + type Round6FullBcast struct + func (r6b *Round6FullBcast) UnmarshalJSON(data []byte) error + func (r6b Round6FullBcast) MarshalJSON() ([]byte, error) + type Round6FullBcastJSON struct + SElement *big.Int + type Signer struct + Curve elliptic.Curve + PublicKey *curves.EcPoint + Round uint + func NewSigner(info *dealer.ParticipantData, cosigners []uint32) (*Signer, error) + func (s *Signer) SignRound3(in map[uint32]*P2PSend) (*Round3Bcast, error) + func (s *Signer) SignRound4(deltas map[uint32]*Round3Bcast) (*Round4Bcast, error) + func (signer *Signer) SignOutput(in map[uint32]*Round6FullBcast) (*curves.EcdsaSignature, error) + func (signer *Signer) SignRound1() (*Round1Bcast, map[uint32]*Round1P2PSend, error) + func (signer *Signer) SignRound2(params map[uint32]*Round1Bcast, p2p map[uint32]*Round1P2PSend) (map[uint32]*P2PSend, error) + func (signer *Signer) SignRound5(witnesses map[uint32]*Round4Bcast) (*Round5Bcast, map[uint32]*Round5P2PSend, error) + func (signer *Signer) SignRound6Full(hash []byte, in map[uint32]*Round5Bcast, p2p map[uint32]*Round5P2PSend) (*Round6FullBcast, error)