Skip to main content

ed25519_dalek_cosi/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2
3#[cfg(feature = "std")]
4extern crate core as std;
5
6#[macro_use]
7extern crate alloc;
8
9#[macro_use]
10extern crate derive_more;
11
12#[macro_use]
13extern crate failure_derive;
14
15pub mod aggregates;
16pub mod challenge;
17pub mod commitment;
18mod constants;
19mod data_structures;
20pub mod error;
21pub mod mask;
22pub mod policies;
23pub mod public_keys_db;
24pub mod response;
25pub mod signature;
26
27pub extern crate ed25519_dalek;
28
29pub use aggregates::{AggregateCommitment, AggregatePublicKey, AggregateResponse};
30pub use challenge::Challenge;
31pub use commitment::{Commitment, CommitmentPair, CommitmentSecret};
32pub use error::{Error, Result};
33pub use mask::{Mask, MaskBitState};
34pub use policies::policy::Policy;
35pub use public_keys_db::{PublicKeysDb, PublicKeysList};
36pub use response::Response;
37pub use signature::Signature;