mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 21:26:41 +01:00
Fix seeded glwe encryption
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use poulpy_hal::{
|
||||
api::VecZnxAddScalarInplace,
|
||||
layouts::{Backend, DataRef, Module, ScalarZnxToRef, Scratch, Stats, ZnxInfos, ZnxZero},
|
||||
layouts::{Backend, DataRef, Module, ScalarZnxToRef, Scratch, Stats, ZnxZero},
|
||||
};
|
||||
|
||||
use crate::{
|
||||
@@ -78,7 +78,6 @@ where
|
||||
let dsize: usize = res.dsize().into();
|
||||
let (mut pt, scratch_1) = scratch.take_glwe_plaintext(res);
|
||||
pt.data_mut().zero();
|
||||
println!("col: {res_col} {}", pt_want.to_ref().cols());
|
||||
self.vec_znx_add_scalar_inplace(
|
||||
&mut pt.data,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user