Expand description
Distributed key generation (Protocol 2, spec §6.2): four messages, S–C.
- S → C
KgMsg1: nonce and commitmentB = RO(ssid, S, X₂). - C → S
KgMsg2:X₁, ephemeral DF tuple,ψ_df*,ψ_dlog. - S → C
KgMsg3:X₂,E,ψ_dlenc. - C verifies and outputs.
Re-exports§
pub use client::ClientKeygen0;pub use client::ClientKeygen1;pub use server::ServerKeygen0;pub use server::ServerKeygen1;
Modules§
Structs§
- Client
KeyShare - Client output of keygen:
x₁,X,E. - Server
KeyShare - Server output of keygen:
x₂ = x₂′ mod q,X,E.
Constants§
- KEYGEN_
TIMEOUT_ MS - The client must finish within this time after sending
KgMsg2(spec §6.2, step 2).
Traits§
- Clock
- Monotonic millisecond clock supplied by the application (the core is
no_std).