mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
Working schemes
This commit is contained in:
@@ -52,8 +52,8 @@ where
|
||||
{
|
||||
let (mut pt_have, scratch_1) = scratch.take_glwe_plaintext(res);
|
||||
self.glwe_decrypt(res, &mut pt_have, sk_prepared, scratch_1);
|
||||
// println!("pt_have: {pt_have}");
|
||||
// println!("pt_want: {}", pt_want.to_ref());
|
||||
//println!("pt_have: {pt_have}");
|
||||
//println!("pt_want: {}", pt_want.to_ref());
|
||||
self.glwe_sub_inplace(&mut pt_have, pt_want);
|
||||
self.glwe_normalize_inplace(&mut pt_have, scratch_1);
|
||||
pt_have.data.stats(pt_have.base2k().into(), 0)
|
||||
|
||||
Reference in New Issue
Block a user