rename to what it actually does

This commit is contained in:
Pro7ech
2025-10-26 10:45:30 +01:00
parent 6dd93ceaea
commit 96c32c531c
5 changed files with 21 additions and 21 deletions

View File

@@ -14,7 +14,7 @@ use rand::RngCore;
use crate::tfhe::bdd_arithmetic::{FheUintBlocksPrepared, GGSWBlindRotation};
pub fn test_ggsw_blind_rotation<BE: Backend>()
pub fn test_scalar_to_ggsw_blind_rotation<BE: Backend>()
where
Module<BE>: ModuleNew<BE>
+ GLWESecretPreparedFactory<BE>
@@ -117,7 +117,7 @@ where
// How many bits to take
let bit_size: usize = (32 - bit_start).min(digit);
module.ggsw_blind_rotate_from_scalar(
module.scalar_to_ggsw_blind_rotation(
&mut res,
&scalar,
&k_enc_prep,

View File

@@ -14,7 +14,7 @@ use rand::RngCore;
use crate::tfhe::bdd_arithmetic::{FheUintBlocksPrepared, GLWEBlindRotation};
pub fn test_glwe_blind_rotation<BE: Backend>()
pub fn test_glwe_to_glwe_blind_rotation<BE: Backend>()
where
Module<BE>: ModuleNew<BE>
+ GLWESecretPreparedFactory<BE>
@@ -106,7 +106,7 @@ where
// How many bits to take
let bit_size: usize = (32 - bit_start).min(digit);
module.glwe_blind_rotation(
module.glwe_to_glwe_blind_rotation(
&mut res,
&test_glwe,
&k_enc_prep,