Skip to main content

pq_newhope/
lib.rs

1#![no_std]
2
3pub use rac::generic_array;
4
5#[cfg(any(test, feature = "smallest"))]
6extern crate std;
7
8mod hash;
9pub use self::hash::h;
10
11pub mod poly;
12
13mod pke;
14pub use self::pke::{Pke, Parameter};
15
16mod cpa;
17pub use self::cpa::Cpa;
18
19mod cca;
20pub use self::cca::Cca;
21
22#[cfg(test)]
23mod tests;