remove 1 NTT from galois_auto AND add NTT benches

This commit is contained in:
Janmajaya Mall
2024-06-05 10:28:10 +05:30
parent 0583c9ba40
commit 15464c1ecc
8 changed files with 590 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ mod test {
ModularOpsU64<CiphertextModulus<u64>>,
>::new(SMALL_MP_BOOL_PARAMS);
let parties = 16;
let parties = 2;
let mut rng = DefaultSecureRng::new();
let mut pk_cr_seed = [0u8; 32];

View File

@@ -353,7 +353,7 @@ mod tests {
#[test]
fn find_prime() {
let bits = 55;
let ring_size = 1 << 11;
let ring_size = 1 << 15;
let prime = generate_prime(bits, ring_size * 2, 1 << bits).unwrap();
dbg!(prime);
}