fix non-interactive RGSW key gen

This commit is contained in:
Janmajaya Mall
2024-06-16 20:29:34 +05:30
parent 6226995179
commit a34f34757f
3 changed files with 29 additions and 6 deletions

View File

@@ -504,7 +504,7 @@ pub(crate) const SMALL_MP_BOOL_PARAMS: BoolParameters<u64> = BoolParameters::<u6
pub(crate) const NON_INTERACTIVE_SMALL_MP_BOOL_PARAMS: BoolParameters<u64> = BoolParameters::<u64> {
rlwe_q: CiphertextModulus::new_non_native(36028797018820609),
lwe_q: CiphertextModulus::new_non_native(1 << 20),
br_q: 1 << 11,
br_q: 1 << 12,
rlwe_n: PolynomialSize(1 << 11),
lwe_n: LweDimension(10),
lwe_decomposer_params: (DecompostionLogBase(4), DecompositionCount(5)),