mirror of
https://github.com/arnaucube/phantom-zone.git
synced 2026-01-11 16:41:29 +01:00
fix secret HW and clean a bit
This commit is contained in:
@@ -512,13 +512,13 @@ pub(crate) mod tests {
|
||||
use crate::{
|
||||
backend::{GetModulus, ModInit, ModularOpsU64, Modulus, VectorOps},
|
||||
decomposer::{Decomposer, DefaultDecomposer, RlweDecomposer},
|
||||
ntt::{self, Ntt, NttBackendU64, NttInit},
|
||||
random::{DefaultSecureRng, NewWithSeed, RandomFillUniformInModulus},
|
||||
ntt::{Ntt, NttBackendU64, NttInit},
|
||||
random::{DefaultSecureRng, RandomFillUniformInModulus},
|
||||
rgsw::{
|
||||
galois_auto_shoup, rlwe_by_rgsw_shoup, ShoupAutoKeyEvaluationDomain,
|
||||
ShoupRgswCiphertextEvaluationDomain,
|
||||
},
|
||||
utils::{generate_prime, negacyclic_mul, Stats, TryConvertFrom1},
|
||||
utils::{generate_prime, negacyclic_mul, tests::Stats, TryConvertFrom1},
|
||||
Matrix, Secret,
|
||||
};
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@ use itertools::izip;
|
||||
use num_traits::Zero;
|
||||
|
||||
use crate::{
|
||||
backend::{ArithmeticOps, GetModulus, Modulus, ShoupMatrixFMA, VectorOps},
|
||||
backend::{ArithmeticOps, GetModulus, ShoupMatrixFMA, VectorOps},
|
||||
decomposer::{Decomposer, RlweDecomposer},
|
||||
ntt::Ntt,
|
||||
Matrix, MatrixEntity, MatrixMut, Row, RowEntity, RowMut, Secret,
|
||||
Matrix, MatrixEntity, MatrixMut, RowEntity, RowMut,
|
||||
};
|
||||
|
||||
use super::IsTrivial;
|
||||
|
||||
Reference in New Issue
Block a user