Expand description
Confium threshold cryptography core — the minimal session interface.
This crate provides the irreducible primitives that threshold scheme plugins (CMP20, FROST, GG18) compile against.
Re-exports§
pub use error::Error;pub use error::Result;pub use message::Message;pub use party::Party;pub use party::PartyList;pub use registry::RoundResult;pub use registry::SessionImpl;pub use registry::TcScheme;pub use registry::TcSchemeKind;pub use session::Session;pub use session::SessionParams;
Modules§
- commitment
- Hash-based commitment scheme.
- error
- Error type for the threshold-cryptography crate.
- error_
codes - Error code catalog — typed error codes for all coordinator errors.
- message
- Round message exchanged between parties.
- nonce
- Threshold nonce derivation — deterministic per-party nonce shares.
- party
- Party identity and the roster of participants in a threshold session.
- registry
- Link-time registry of in-process threshold schemes.
- schemes
- Built-in threshold-cryptography schemes that ship with
confium-tc. - session
- Session lifecycle: create, round, result, destroy.
- share
- Opaque handle to a party’s portion of a distributed secret.
- share_
adapter - Cross-scheme share adapter — normalized intermediate representation.
- share_
envelope - Versioned share envelope — canonical wire format for threshold shares.
- unified_
error - Unified error hierarchy — single error tree for all coordinator errors.
Macros§
- register_
tc_ scheme - Submit a scheme implementation to the link-time registry.