Skip to main content

Crate confium_tc_core

Crate confium_tc_core 

Source
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;
pub use share::Share;

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.