1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#![allow(non_snake_case)]

#[cfg(all(feature = "SignatureG1", feature = "SignatureG2"))]
compile_error!("features `SignatureG1` and `SignatureG2` are mutually exclusive");

#[macro_use]
extern crate amcl_wrapper;

#[macro_use]
extern crate ps_sig;

use ps_sig::pok_vc;
use ps_sig::{ate_2_pairing, VerkeyGroup, VerkeyGroupVec, SignatureGroup, SignatureGroupVec};

extern crate rand;

#[macro_use]
extern crate failure;

extern crate serde;
#[macro_use]
extern crate serde_derive;

extern crate secret_sharing;

pub mod errors;
#[macro_use]
pub mod elgamal;
pub mod keygen;
pub mod pok_sig;
pub mod signature;