This commit is contained in:
Pro7ech
2025-09-15 19:19:23 +02:00
parent c8a1997a57
commit af5d8a308f
4 changed files with 2 additions and 7 deletions

View File

@@ -256,7 +256,6 @@ where
let p1: i64 = -5; let p1: i64 = -5;
(1..3).for_each(|rank| { (1..3).for_each(|rank| {
(1..digits + 1).for_each(|di| { (1..digits + 1).for_each(|di| {
let k_apply: usize = (digits + di) * basek; let k_apply: usize = (digits + di) * basek;
let n: usize = module.n(); let n: usize = module.n();

View File

@@ -119,7 +119,6 @@ pub fn reim4_vec_mat1col_product_ref(
j += 8; j += 8;
} }
dst[0..8].copy_from_slice(&acc); dst[0..8].copy_from_slice(&acc);
} }
#[inline(always)] #[inline(always)]

View File

@@ -459,8 +459,6 @@ pub fn test_svp_apply_dft_to_dft_inplace<BR: Backend, BT: Backend>(
); );
} }
assert_eq!(res_ref, res_test); assert_eq!(res_ref, res_test);
} }
} }

View File

@@ -13,7 +13,7 @@ use poulpy_hal::{
source::Source, source::Source,
}; };
use poulpy_backend::{FFT64Avx}; use poulpy_backend::FFT64Avx;
use poulpy_schemes::tfhe::{ use poulpy_schemes::tfhe::{
blind_rotation::CGGI, blind_rotation::CGGI,
@@ -142,8 +142,7 @@ fn main() {
let mut res: GGSWCiphertext<Vec<u8>> = GGSWCiphertext::alloc(n_glwe, basek, k_ggsw_res, rows_ggsw_res, 1, rank); let mut res: GGSWCiphertext<Vec<u8>> = GGSWCiphertext::alloc(n_glwe, basek, k_ggsw_res, rows_ggsw_res, 1, rank);
// Circuit bootstrapping key prepared (opaque backend dependant write only struct) // Circuit bootstrapping key prepared (opaque backend dependant write only struct)
let cbt_prepared: CircuitBootstrappingKeyPrepared<Vec<u8>, CGGI, FFT64Avx> = let cbt_prepared: CircuitBootstrappingKeyPrepared<Vec<u8>, CGGI, FFT64Avx> = cbt_key.prepare_alloc(&module, scratch.borrow());
cbt_key.prepare_alloc(&module, scratch.borrow());
// Apply circuit bootstrapping: LWE(data * 2^{- (k_lwe_pt + 2)}) -> GGSW(data) // Apply circuit bootstrapping: LWE(data * 2^{- (k_lwe_pt + 2)}) -> GGSW(data)
let now: Instant = Instant::now(); let now: Instant = Instant::now();