Crate cggmp21_keygen

Crate cggmp21_keygen 

Source
Expand description

Threshold and non-threshold CGGMP21 DKG

This crate provides an implementation of UC-secure DKG protocol taken from CGGMP21 paper. Implementation is fully #![no_std] compatible and WASM-friendly.

Re-exports§

pub use self::msg::non_threshold::Msg as NonThresholdMsg;
pub use self::msg::threshold::Msg as ThresholdMsg;

Modules§

key_share
Key share of Threshold Signature Scheme (TSS)
msg
MPC network messages
progress
Traces progress of protocol execution
security_level
Security level of CGGMP DKG protocol

Macros§

define_security_level
Defines security level of CGGMP21 DKG protocol

Structs§

ExecutionId
Protocol execution ID
GenericKeygenBuilder
Key generation entry point with choice for threshold or non-threshold variant
KeygenError
Keygen protocol error
NonThreshold
Indicates non-threshold DKG
WithThreshold
Indicates threshold DKG

Functions§

keygen
Distributed key generation protocol

Type Aliases§

KeygenBuilder
Key generation entry point. You can call set_threshold to make it into a threshold DKG
ThresholdKeygenBuilder
Threshold keygen builder