Add schemes (#71)

* Move br + cbt to schemes/tfhe

* refactor blind rotation

* refactor circuit bootstrapping

* renamed exec -> prepared
This commit is contained in:
Jean-Philippe Bossuat
2025-08-15 15:06:26 +02:00
committed by GitHub
parent 8d9897b88b
commit c7219c35e9
130 changed files with 2631 additions and 3270 deletions

View File

@@ -115,12 +115,12 @@ In addition to providing a general purpose FHE library over a unified plaintext
pub(crate) dist: Distribution,
}
pub struct GLWESecretExec<D: Data, B: Backend> {
pub struct GLWESecrecPrepared<D: Data, B: Backend> {
pub(crate) data: SvpPPol<D, B>,
pub(crate) dist: Distribution,
}
impl<D: DataMut, B: Backend> GLWESecretExec<D, B> {
impl<D: DataMut, B: Backend> GLWESecretPrepared<D, B> {
pub fn prepare<O>(&mut self, module: &Module<B>, sk: &GLWESecret<O>)
where
O: DataRef,