Skip to main content

Crate frost_dkg

Crate frost_dkg 

Source
Expand description

The FROST Distributed Key Generation protocol.

The full paper can be found here.

Re-exports§

pub use elliptic_curve;
pub use elliptic_curve_tools;
pub use rand_core;
pub use vsss_rs;

Structs§

DkgOutput
The completed output of a DKG participant.
OutboundMessage
An opaque outbound protocol message and its transport destination.
OutboundMessages
The outbound messages produced by one protocol round.
Parameters
The parameters used by the DKG participants. These parameters must be the same for every participant; otherwise, the protocol will abort.
Participant
A DKG participant finite-state machine.
ParticipantRoundOutput
The output of a protocol round for one participant.
ReconstructionSet
A validated set of participant identifiers used to reconstruct a secret.
RefreshParticipantImpl
The refresh participant implementation.
Round1Data
The round 1 data.
Round1OutputGenerator
The output generator for round 1.
Round2Data
The round 2 data.
Round2OutputGenerator
The output generator for round 2.
SecretParticipantImpl
The secret participant implementation.
Signature
A Schnorr signature.
WireMessage
An opaque, serialized protocol message.

Enums§

AdvanceResult
The result of advancing a participant by one protocol round.
Error
Error type for the library.
MessageDestination
The transport destination for an opaque protocol message.
ParticipantType
The participant type.
Round
Valid protocol rounds.
RoundOutputGenerator
A protocol round’s output generator.

Traits§

AnyParticipant
A trait that enables dynamic dispatch over participants.
ParticipantImpl
The participant implementation.
ScalarHash
A trait for hashing bytes to a scalar.

Functions§

publicly_verify_dkg_results
Round 1 broadcast data used to publicly verify a DKG output.

Type Aliases§

DkgResult
Result type for the library.
FeldmanShareVerifier
The inner Feldman share verifiers.
RefreshParticipant
A participant that refreshes an existing sharing.
SecretParticipant
A participant that contributes a secret.
SecretShare
The inner share representation.