commonware_cryptography/bls12381/
mod.rs

1//! Distributed Key Generation (DKG), Resharing, Signatures, and Threshold Signatures over the BLS12-381 curve.
2//!
3//! # Features
4//!
5//! This crate has the following features:
6//!
7//! - `portable`: Enables `portable` feature on `blst` (<https://github.com/supranational/blst?tab=readme-ov-file#platform-and-language-compatibility>).
8
9#[cfg(not(feature = "std"))]
10extern crate alloc;
11
12#[cfg(feature = "std")]
13pub mod dkg;
14pub mod primitives;
15mod scheme;
16pub mod tle;
17pub use scheme::{Batch, PrivateKey, PublicKey, Signature};