This commit is contained in:
Pro7ech
2025-10-15 18:26:32 +02:00
parent 10817a8529
commit 2ea59310fb
57 changed files with 363 additions and 314 deletions

View File

@@ -2,7 +2,7 @@ use poulpy_backend::cpu_spqlios::FFT64Spqlios;
use poulpy_core::{
GLWEOperations, SIGMA,
layouts::{
Base2K, Degree, GLWE, GLWELayout, GLWEPlaintext, GLWEPlaintextLayout, GLWESecret, LWEInfos, Rank, TorusPrecision,
Base2K, GLWE, GLWELayout, GLWEPlaintext, GLWEPlaintextLayout, GLWESecret, LWEInfos, Rank, RingDegree, TorusPrecision,
prepared::{GLWESecretPrepared, PrepareAlloc},
},
};
@@ -16,7 +16,7 @@ fn main() {
// Ring degree
let log_n: usize = 10;
let n: Degree = Degree(1 << log_n);
let n: RingDegree = RingDegree(1 << log_n);
// Base-2-k (implicit digit decomposition)
let base2k: Base2K = Base2K(14);