Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DkgParticipant ¶
type DkgParticipant struct { Curve *curves.Curve Id uint32 VerificationKey curves.Point // contains filtered or unexported fields }
func NewDkgParticipant ¶
func (*DkgParticipant) Round1 ¶
func (dp *DkgParticipant) Round1(secret []byte) (*Round1Bcast, Round1P2PSend, error)
Round1 implements dkg round 1 of FROST
func (*DkgParticipant) Round2 ¶
func (dp *DkgParticipant) Round2(bcast map[uint32]*Round1Bcast, p2psend map[uint32]*sharing.ShamirShare) (*Round2Bcast, error)
Round2 implements dkg round 2 of FROST
type Round1Bcast ¶
type Round1Bcast struct { Verifiers *sharing.FeldmanVerifier Wi, Ci curves.Scalar }
Round1Bcast are values that are broadcast to all other participants after round1 completes
type Round1P2PSend ¶
type Round1P2PSend = map[uint32]*sharing.ShamirShare
Round1P2PSend are values that are P2PSend to all other participants after round1 completes
type Round2Bcast ¶
Round2Bcast are values that are broadcast to all other participants after round2 completes
Click to show internal directories.
Click to hide internal directories.