snowbridge_milagro_bls/
lib.rs1#![cfg_attr(not(feature = "std"), no_std)]
2
3#[cfg(not(feature = "std"))]
4extern crate alloc;
5
6extern crate amcl;
7#[cfg(feature = "std")]
8#[macro_use]
9extern crate lazy_static;
10extern crate rand;
11
12mod aggregates;
13mod amcl_utils;
14mod keys;
15mod signature;
16
17pub use self::amcl::bls381 as BLSCurve;
18
19pub use aggregates::{AggregatePublicKey, AggregateSignature};
20pub use amcl_utils::{AmclError, G1_BYTES, G2_BYTES, SECRET_KEY_BYTES};
21pub use keys::{Keypair, PublicKey, SecretKey};
22pub use signature::Signature;