frost

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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) Close

func (p *FROSTProtocol) Close()

Close cleans up resources

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) Name

func (p *FROSTProtocol) Name() string

Name returns the protocol name

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL