mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
Added LWESecret
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use backend::{Backend, FFT64, Module, ScalarZnx, ScalarZnxAlloc, ScalarZnxToRef, Scratch, ZnxView, ZnxViewMut};
|
||||
use sampling::source::Source;
|
||||
|
||||
use crate::{AutomorphismKey, GGSWCiphertext, GLWESecret, SecretDistribution};
|
||||
use crate::{AutomorphismKey, GGSWCiphertext, GLWESecret, LWESecret, SecretDistribution};
|
||||
|
||||
pub struct BlindRotationKeyCGGI<B: Backend> {
|
||||
pub(crate) data: Vec<GGSWCiphertext<Vec<u8>, B>>,
|
||||
@@ -27,7 +27,7 @@ impl BlindRotationKeyCGGI<FFT64> {
|
||||
&mut self,
|
||||
module: &Module<FFT64>,
|
||||
sk_glwe: &GLWESecret<DataSkGLWE, FFT64>,
|
||||
sk_lwe: &GLWESecret<DataSkLWE, FFT64>,
|
||||
sk_lwe: &LWESecret<DataSkLWE>,
|
||||
source_xa: &mut Source,
|
||||
source_xe: &mut Source,
|
||||
sigma: f64,
|
||||
|
||||
Reference in New Issue
Block a user