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