mpcfrost

package
v0.0.0-...-e44043b Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FrostKeygen

func FrostKeygen(id party.ID, ids party.IDSlice, threshold int, n network.Network) (*frost.Config, error)

func FrostKeygenTaproot

func FrostKeygenTaproot(id party.ID, ids party.IDSlice, threshold int, n network.Network) (*frost.TaprootConfig, error)

func FrostSign

func FrostSign(c *frost.Config, id party.ID, m []byte, signers party.IDSlice, n network.Network) error

func FrostSignTaproot

func FrostSignTaproot(c *frost.TaprootConfig, m []byte, signers party.IDSlice, n network.Network) (taproot.Signature, error)

func FrostSignTaprootCoSign

func FrostSignTaprootCoSign(c *frost.TaprootConfig, incSig *protocol.Message, m []byte, signers party.IDSlice, n network.Network) (taproot.Signature, error)

func FrostSignTaprootInc

func FrostSignTaprootInc(c *frost.TaprootConfig, m []byte, signers party.IDSlice, n network.Network) error

incomplete signature

func GetAddress

SegWit address type

func GetPublicKeyByte

func GetPublicKeyByte(c *frost.TaprootConfig) ([]byte, error)

func PrintAddressPubKeyTaproot

func PrintAddressPubKeyTaproot(name string, c *frost.TaprootConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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