arnaucube
arnaucube/poulpyPublic Self-hosted repository
wip
Pro7ech jeanphilippe.bossuat@gmail.com
Wed, 15 Oct 2025 11:18:52 +0200
commit

58bee4805e254675e2d3275c9b627ee7c0fc8171

parent

9f64f691cae9d4352f8a34cafea50c6dd608440d

2 files changed, 5 insertions(+), 3 deletions(-)

jump to
M poulpy-core/src/external_product/glwe_ct.rs → poulpy-core/src/external_product/glwe_ct.rs

@@ -14,7 +14,7 @@ prepared::{GGSWPrepared, GGSWPreparedToRef},

}, }; -impl<DataSelf: DataMut> GLWE<DataSelf> { +impl GLWE<Vec<u8>> { pub fn external_product_scratch_space<R, A, B, M, BE: Backend>(module: &M, res_infos: &R, a_infos: &A, b_infos: &B) -> usize where R: GLWEInfos,

@@ -24,7 +24,9 @@ M: GLWEExternalProduct<BE>,

{ module.glwe_external_product_scratch_space(res_infos, a_infos, b_infos) } +} +impl<DataSelf: DataMut> GLWE<DataSelf> { pub fn external_product<A, B, M, BE: Backend>(&mut self, module: &M, a: &A, b: &B, scratch: &mut Scratch<BE>) where A: GLWEToRef,
M poulpy-core/src/external_product/mod.rs → poulpy-core/src/external_product/mod.rs

@@ -3,6 +3,6 @@ mod gglwe_ksk;

mod ggsw_ct; mod glwe_ct; -pub use glwe_ct::*; pub use gglwe_ksk::*; -pub use ggsw_ct::*;+pub use ggsw_ct::*; +pub use glwe_ct::*;