mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 21:26:41 +01:00
updated repo for publishing (#74)
This commit is contained in:
committed by
GitHub
parent
0be569eca0
commit
62eb87cc07
35
poulpy-schemes/src/tfhe/blind_rotation/mod.rs
Normal file
35
poulpy-schemes/src/tfhe/blind_rotation/mod.rs
Normal file
@@ -0,0 +1,35 @@
|
||||
mod cggi_algo;
|
||||
mod cggi_key;
|
||||
mod key;
|
||||
mod key_compressed;
|
||||
mod key_prepared;
|
||||
mod lut;
|
||||
mod utils;
|
||||
|
||||
pub use cggi_algo::*;
|
||||
pub use key::*;
|
||||
pub use key_compressed::*;
|
||||
pub use key_prepared::*;
|
||||
pub use lut::*;
|
||||
|
||||
pub mod tests;
|
||||
|
||||
use poulpy_backend::hal::layouts::{Backend, DataMut, DataRef, Module, Scratch};
|
||||
use poulpy_core::layouts::{GLWECiphertext, LWECiphertext};
|
||||
|
||||
pub trait BlindRotationAlgo {}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct CGGI {}
|
||||
impl BlindRotationAlgo for CGGI {}
|
||||
|
||||
pub trait BlincRotationExecute<B: Backend> {
|
||||
fn execute<DR: DataMut, DI: DataRef>(
|
||||
&self,
|
||||
module: &Module<B>,
|
||||
res: &mut GLWECiphertext<DR>,
|
||||
lwe: &LWECiphertext<DI>,
|
||||
lut: &LookUpTable,
|
||||
scratch: &mut Scratch<B>,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user