Documentation
¶
Index ¶
- type FROSTProtocol
- func (p *FROSTProtocol) Close()
- func (p *FROSTProtocol) KeyGen(selfID string, partyIDs []string, threshold int) (protocol.Party, error)
- func (p *FROSTProtocol) Name() string
- func (p *FROSTProtocol) PreSign(cfg protocol.KeyGenConfig, signers []string) (protocol.Party, error)
- func (p *FROSTProtocol) PreSignOnline(cfg protocol.KeyGenConfig, preSig protocol.PreSignature, messageHash []byte) (protocol.Party, error)
- func (p *FROSTProtocol) Refresh(cfg protocol.KeyGenConfig) (protocol.Party, error)
- func (p *FROSTProtocol) Sign(cfg protocol.KeyGenConfig, signers []string, messageHash []byte) (protocol.Party, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FROSTProtocol ¶
type FROSTProtocol struct {
// contains filtered or unexported fields
}
FROSTProtocol implements the Protocol interface using FROST for EdDSA
func NewFROSTProtocol ¶
func NewFROSTProtocol() *FROSTProtocol
NewFROSTProtocol creates a new FROST protocol adapter
func (*FROSTProtocol) KeyGen ¶
func (p *FROSTProtocol) KeyGen(selfID string, partyIDs []string, threshold int) (protocol.Party, error)
KeyGen starts a distributed key generation for EdDSA
func (*FROSTProtocol) PreSign ¶
func (p *FROSTProtocol) PreSign(cfg protocol.KeyGenConfig, signers []string) (protocol.Party, error)
PreSign starts a presigning protocol
func (*FROSTProtocol) PreSignOnline ¶
func (p *FROSTProtocol) PreSignOnline(cfg protocol.KeyGenConfig, preSig protocol.PreSignature, messageHash []byte) (protocol.Party, error)
PreSignOnline completes a signature with a presignature
func (*FROSTProtocol) Refresh ¶
func (p *FROSTProtocol) Refresh(cfg protocol.KeyGenConfig) (protocol.Party, error)
Refresh refreshes shares from an existing config
func (*FROSTProtocol) Sign ¶
func (p *FROSTProtocol) Sign(cfg protocol.KeyGenConfig, signers []string, messageHash []byte) (protocol.Party, error)
Sign starts a signing protocol
Click to show internal directories.
Click to hide internal directories.