Working schemes

This commit is contained in:
Pro7ech
2025-11-19 09:26:52 +01:00
parent 48757fac7c
commit c23cf7803b
3 changed files with 8 additions and 5 deletions

View File

@@ -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)