mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
rename to what it actually does
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user