mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
Add schemes (#71)
* Move br + cbt to schemes/tfhe * refactor blind rotation * refactor circuit bootstrapping * renamed exec -> prepared
This commit is contained in:
committed by
GitHub
parent
8d9897b88b
commit
c7219c35e9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user