export blind rotation
Jean-Philippe Bossuat jeanphilippe.bossuat@gmail.com
Tue, 08 Jul 2025 17:00:42 +0200
4 files changed,
9 insertions(+),
4 deletions(-)
M
core/src/blind_rotation/mod.rs
→
core/src/blind_rotation/mod.rs
@@ -1,7 +1,10 @@
-// pub mod cggi; -pub mod ccgi; +pub mod cggi; pub mod key; pub mod lut; + +pub use cggi::{cggi_blind_rotate, cggi_blind_rotate_scratch_space}; +pub use key::BlindRotationKeyCGGI; +pub use lut::LookUpTable; #[cfg(test)] pub mod test_fft64;
M
core/src/blind_rotation/test_fft64/cggi.rs
→
core/src/blind_rotation/test_fft64/cggi.rs
@@ -4,7 +4,7 @@
use crate::{ FourierGLWESecret, GLWECiphertext, GLWEPlaintext, GLWESecret, Infos, LWECiphertext, LWESecret, blind_rotation::{ - ccgi::{cggi_blind_rotate, cggi_blind_rotate_scratch_space, negate_and_mod_switch_2n}, + cggi::{cggi_blind_rotate, cggi_blind_rotate_scratch_space, negate_and_mod_switch_2n}, key::BlindRotationKeyCGGI, lut::LookUpTable, },
M
core/src/lib.rs
→
core/src/lib.rs
@@ -11,13 +11,15 @@
use backend::Backend; use backend::FFT64; use backend::Module; +pub use blind_rotation::{BlindRotationKeyCGGI, LookUpTable, cggi_blind_rotate, cggi_blind_rotate_scratch_space}; pub use elem::{GetRow, Infos, SetMetaData, SetRow}; pub use fourier_glwe::{FourierGLWECiphertext, FourierGLWESecret}; pub use gglwe::{GGLWECiphertext, GLWEAutomorphismKey, GLWESwitchingKey, GLWETensorKey}; pub use ggsw::GGSWCiphertext; pub use glwe::{GLWECiphertext, GLWEOps, GLWEPacker, GLWEPlaintext, GLWEPublicKey, GLWESecret}; +pub use lwe::{LWECiphertext, LWESecret}; + pub(crate) use glwe::{GLWECiphertextToMut, GLWECiphertextToRef}; -pub use lwe::{LWECiphertext, LWESecret}; pub use backend::Scratch; pub use backend::ScratchOwned;