1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[cfg(all(feature = "asm", target_arch = "x86_64"))]
mod assembly;

#[cfg(any(not(feature = "asm"), not(target_arch = "x86_64")))]
mod normal;

mod represent;

#[cfg(all(feature = "asm", target_arch = "x86_64"))]
pub use assembly::{add, double, mul, neg, square, sub};

#[cfg(any(not(feature = "asm"), not(target_arch = "x86_64")))]
pub use normal::{add, double, mul, neg, square, sub};

pub use normal::{invert, mont, pow};

pub use represent::*;