2018-08-23 15:35:39 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
|
2019-04-10 07:00:48 -07:00
|
|
|
extern crate aes;
|
2019-06-04 05:15:12 -07:00
|
|
|
extern crate blake2b_simd;
|
2018-08-23 15:29:42 -07:00
|
|
|
extern crate byteorder;
|
2019-04-11 06:33:41 -07:00
|
|
|
extern crate crypto_api_chachapoly;
|
2019-01-06 01:31:20 -08:00
|
|
|
extern crate ff;
|
2019-04-10 07:00:48 -07:00
|
|
|
extern crate fpe;
|
2018-10-11 15:16:48 -07:00
|
|
|
extern crate hex;
|
2018-08-23 15:35:39 -07:00
|
|
|
extern crate pairing;
|
2018-11-20 05:37:21 -08:00
|
|
|
extern crate rand;
|
2019-07-12 21:16:54 -07:00
|
|
|
extern crate rand_core;
|
|
|
|
extern crate rand_os;
|
2018-08-23 15:35:39 -07:00
|
|
|
extern crate sapling_crypto;
|
2018-12-03 04:54:11 -08:00
|
|
|
extern crate sha2;
|
2018-08-23 15:35:39 -07:00
|
|
|
|
2019-05-04 09:47:18 -07:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate rand_xorshift;
|
|
|
|
|
2018-08-23 15:35:39 -07:00
|
|
|
use sapling_crypto::jubjub::JubjubBls12;
|
2018-08-23 15:29:42 -07:00
|
|
|
|
2018-10-11 15:14:46 -07:00
|
|
|
pub mod block;
|
2019-03-06 19:53:39 -08:00
|
|
|
pub mod keys;
|
2019-05-24 04:30:14 -07:00
|
|
|
pub mod legacy;
|
2018-10-03 12:09:17 -07:00
|
|
|
pub mod merkle_tree;
|
2018-10-19 13:50:49 -07:00
|
|
|
pub mod note_encryption;
|
2018-11-18 03:20:59 -08:00
|
|
|
pub mod prover;
|
2019-05-04 09:47:18 -07:00
|
|
|
pub mod redjubjub;
|
2018-08-14 15:43:33 -07:00
|
|
|
pub mod sapling;
|
2018-08-23 15:29:42 -07:00
|
|
|
mod serialize;
|
2018-08-23 15:35:39 -07:00
|
|
|
pub mod transaction;
|
2019-05-04 09:47:18 -07:00
|
|
|
mod util;
|
2019-04-10 07:00:48 -07:00
|
|
|
pub mod zip32;
|
2018-08-23 15:35:39 -07:00
|
|
|
|
2018-11-14 04:39:26 -08:00
|
|
|
#[cfg(test)]
|
|
|
|
mod test_vectors;
|
|
|
|
|
2018-08-23 15:35:39 -07:00
|
|
|
lazy_static! {
|
2018-09-14 01:00:27 -07:00
|
|
|
pub static ref JUBJUB: JubjubBls12 = { JubjubBls12::new() };
|
2018-08-23 15:35:39 -07:00
|
|
|
}
|