mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
Traits reduction, file + structs renaming
This commit is contained in:
@@ -85,7 +85,7 @@ where
|
||||
rank: Rank(1),
|
||||
};
|
||||
|
||||
let (mut tmp_glwe, scratch_1) = scratch.take_glwe_ct(self, &glwe_layout);
|
||||
let (mut tmp_glwe, scratch_1) = scratch.take_glwe(self, &glwe_layout);
|
||||
self.glwe_keyswitch(&mut tmp_glwe, a, key, scratch_1);
|
||||
self.lwe_sample_extract(res, &tmp_glwe);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ where
|
||||
assert_eq!(ksk.n(), self.n() as u32);
|
||||
assert!(lwe.n() <= self.n() as u32);
|
||||
|
||||
let (mut glwe, scratch_1) = scratch.take_glwe_ct(
|
||||
let (mut glwe, scratch_1) = scratch.take_glwe(
|
||||
self,
|
||||
&GLWELayout {
|
||||
n: ksk.n(),
|
||||
|
||||
Reference in New Issue
Block a user