fusion TFHE to use GFHE underthehood

This commit is contained in:
2025-07-24 14:32:44 +00:00
parent 0bee7582db
commit 850b7a72f5
7 changed files with 52 additions and 171 deletions

View File

@@ -3,8 +3,8 @@ use std::fmt::Debug;
use std::iter::Sum;
use std::ops::{Add, AddAssign, Mul, Sub, SubAssign};
/// Represents a ring element. Currently implemented by ring_n.rs#R and
/// ring_nq.rs#Rq. Is not a 'pure algebraic ring', but more a custom trait
/// Represents a ring element. Currently implemented by ring_nq.rs#Rq and
/// ring_torus.rs#Tn. Is not a 'pure algebraic ring', but more a custom trait
/// definition which includes methods like `mod_switch`.
// assumed to be mod (X^N +1)
pub trait Ring: