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
18// mod naive_ntt; // note: for dev only
19pub mod ntt;
20pub mod ntt_u62;
21pub mod ntt_u64;
22
23// expose objects
24pub use complex::C;
25pub use matrix::Matrix;
26pub use torus::T64;
27pub use zq::Zq;
28
29pub use ring::{Ring, RingParam};
30pub use ring_n::R;
31pub use ring_nq::Rq;
32pub use ring_torus::Tn;
33pub use tuple_ring::TR;
34
35pub use ntt::NTT;