Crate dkg

source ·
Expand description

A collection of implementations of various distributed key generation protocols. They all resolve into the provided Threshold types intended to enable their modularity. Additional utilities around them, such as promotion from one generator to another, are also provided.

Modules

The distributed key generation protocol described in the FROST paper.
Promote keys between ciphersuites.
teststests
Tests for application-provided curves and algorithms.

Structs

Keys and verification shares generated by a DKG. Called core as they’re expected to be wrapped into an Arc before usage in various operations.
Threshold keys usable for signing.
Parameters for a multisig.
View of keys passed to algorithm implementations.

Enums

Various errors possible during key generation/signing.

Functions

Calculate the lagrange coefficient for a signing set.