noah_bulletproofs/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
3#![doc(html_root_url = "https://docs.rs/bulletproofs/2.0.0")]
4
5extern crate alloc;
6
7#[macro_use]
8extern crate serde_derive;
9
10mod util;
11
12mod notes {
13    mod inner_product_proof {}
14    mod range_proof {}
15    mod r1cs_proof {}
16}
17
18mod errors;
19mod generators;
20mod inner_product_proof;
21mod range_proof;
22mod transcript;
23
24pub use crate::errors::ProofError;
25pub use crate::generators::{BulletproofGens, BulletproofGensShare, PedersenGens};
26pub use crate::range_proof::RangeProof;
27
28pub mod range_proof_mpc {
29    pub use crate::errors::MPCError;
30    pub use crate::range_proof::dealer;
31    pub use crate::range_proof::messages;
32    pub use crate::range_proof::party;
33}
34
35#[cfg(feature = "yoloproofs")]
36pub mod r1cs;