export blind rotation

This commit is contained in:
Jean-Philippe Bossuat
2025-07-08 17:00:42 +02:00
parent 2e0e7e11b4
commit 0e65df9795
4 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
// pub mod cggi; pub mod cggi;
pub mod ccgi;
pub mod key; pub mod key;
pub mod lut; pub mod lut;
pub use cggi::{cggi_blind_rotate, cggi_blind_rotate_scratch_space};
pub use key::BlindRotationKeyCGGI;
pub use lut::LookUpTable;
#[cfg(test)] #[cfg(test)]
pub mod test_fft64; pub mod test_fft64;

View File

@@ -4,7 +4,7 @@ use sampling::source::Source;
use crate::{ use crate::{
FourierGLWESecret, GLWECiphertext, GLWEPlaintext, GLWESecret, Infos, LWECiphertext, LWESecret, FourierGLWESecret, GLWECiphertext, GLWEPlaintext, GLWESecret, Infos, LWECiphertext, LWESecret,
blind_rotation::{ 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, key::BlindRotationKeyCGGI,
lut::LookUpTable, lut::LookUpTable,
}, },

View File

@@ -11,14 +11,16 @@ pub mod noise;
use backend::Backend; use backend::Backend;
use backend::FFT64; use backend::FFT64;
use backend::Module; 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 elem::{GetRow, Infos, SetMetaData, SetRow};
pub use fourier_glwe::{FourierGLWECiphertext, FourierGLWESecret}; pub use fourier_glwe::{FourierGLWECiphertext, FourierGLWESecret};
pub use gglwe::{GGLWECiphertext, GLWEAutomorphismKey, GLWESwitchingKey, GLWETensorKey}; pub use gglwe::{GGLWECiphertext, GLWEAutomorphismKey, GLWESwitchingKey, GLWETensorKey};
pub use ggsw::GGSWCiphertext; pub use ggsw::GGSWCiphertext;
pub use glwe::{GLWECiphertext, GLWEOps, GLWEPacker, GLWEPlaintext, GLWEPublicKey, GLWESecret}; pub use glwe::{GLWECiphertext, GLWEOps, GLWEPacker, GLWEPlaintext, GLWEPublicKey, GLWESecret};
pub(crate) use glwe::{GLWECiphertextToMut, GLWECiphertextToRef};
pub use lwe::{LWECiphertext, LWESecret}; pub use lwe::{LWECiphertext, LWESecret};
pub(crate) use glwe::{GLWECiphertextToMut, GLWECiphertextToRef};
pub use backend::Scratch; pub use backend::Scratch;
pub use backend::ScratchOwned; pub use backend::ScratchOwned;