arnaucube
arnaucube/fhe-studyPublic Self-hosted repository
fhe-study/arith/src/lib.rs
arith/src/lib.rsRaw
 1#![allow(non_snake_case)]
 2#![allow(non_upper_case_globals)]
 3#![allow(non_camel_case_types)]
 4#![allow(clippy::upper_case_acronyms)]
 5#![allow(dead_code)] // TMP
 6
 7pub mod complex;
 8pub mod matrix;
 9pub mod torus;
10pub mod zq;
11
12pub mod ring;
13pub mod ring_n;
14pub mod ring_nq;
15pub mod ring_torus;
16pub mod tuple_ring;
17
18mod naive_ntt; // note: for dev only
19pub mod ntt;
20
21// expose objects
22
23pub use complex::C;
24pub use matrix::Matrix;
25pub use torus::T64;
26pub use zq::Zq;
27
28pub use ring::Ring;
29pub use ring_n::R;
30pub use ring_nq::Rq;
31pub use ring_torus::Tn;
32pub use tuple_ring::TR;
33
34pub use ntt::NTT;