From 58bee4805e254675e2d3275c9b627ee7c0fc8171 Mon Sep 17 00:00:00 2001 From: Pro7ech Date: Wed, 15 Oct 2025 11:18:52 +0200 Subject: [PATCH] wip --- poulpy-core/src/external_product/glwe_ct.rs | 4 +++- poulpy-core/src/external_product/mod.rs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/poulpy-core/src/external_product/glwe_ct.rs b/poulpy-core/src/external_product/glwe_ct.rs index 4abac52..4735ff9 100644 --- a/poulpy-core/src/external_product/glwe_ct.rs +++ b/poulpy-core/src/external_product/glwe_ct.rs @@ -14,7 +14,7 @@ use crate::{ }, }; -impl GLWE { +impl GLWE> { pub fn external_product_scratch_space(module: &M, res_infos: &R, a_infos: &A, b_infos: &B) -> usize where R: GLWEInfos, @@ -24,7 +24,9 @@ impl GLWE { { module.glwe_external_product_scratch_space(res_infos, a_infos, b_infos) } +} +impl GLWE { pub fn external_product(&mut self, module: &M, a: &A, b: &B, scratch: &mut Scratch) where A: GLWEToRef, diff --git a/poulpy-core/src/external_product/mod.rs b/poulpy-core/src/external_product/mod.rs index 52d24ba..532406b 100644 --- a/poulpy-core/src/external_product/mod.rs +++ b/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::*; \ No newline at end of file +pub use ggsw_ct::*; +pub use glwe_ct::*;