fixed tests
Jean-Philippe Bossuat jeanphilippe.bossuat@gmail.com
Mon, 26 May 2025 13:57:19 +0200
2 files changed,
4 insertions(+),
4 deletions(-)
M
core/src/gglwe_ciphertext.rs
→
core/src/gglwe_ciphertext.rs
@@ -1,7 +1,7 @@
use backend::{ Backend, FFT64, MatZnxDft, MatZnxDftAlloc, MatZnxDftOps, MatZnxDftToMut, MatZnxDftToRef, Module, ScalarZnx, ScalarZnxDft, - ScalarZnxDftToRef, ScalarZnxToRef, Scratch, VecZnxAlloc, VecZnxBigScratch, VecZnxDftAlloc, VecZnxDftToMut, VecZnxDftToRef, - VecZnxOps, ZnxInfos, ZnxZero, + ScalarZnxDftToRef, ScalarZnxToRef, Scratch, VecZnxAlloc, VecZnxDftAlloc, VecZnxDftToMut, VecZnxDftToRef, VecZnxOps, ZnxInfos, + ZnxZero, }; use sampling::source::Source;
M
core/src/test_fft64/tensor_key.rs
→
core/src/test_fft64/tensor_key.rs
@@ -40,9 +40,9 @@ let mut sk: SecretKey<Vec<u8>> = SecretKey::alloc(&module, rank);
sk.fill_ternary_prob(0.5, &mut source_xs); let mut sk_dft: SecretKeyFourier<Vec<u8>, FFT64> = SecretKeyFourier::alloc(&module, rank); - sk_dft.dft(generate_from_sksk); + sk_dft.dft(&module, &sk); - tensor_key.encrypt_sk( + tensor_key.generate_from_sk( &module, &sk_dft, &mut source_xa,