Distinguish between gglwe_to_ggsw key and tensor_key + update key repreentation

This commit is contained in:
Pro7ech
2025-10-27 11:28:53 +01:00
parent 41ca5aafcc
commit 8d4c19a304
59 changed files with 2812 additions and 1596 deletions

View File

@@ -19,7 +19,7 @@ rand_core = {workspace = true}
byteorder = {workspace = true}
once_cell = {workspace = true}
rand_chacha = "0.9.0"
bytemuck = "1.23.2"
bytemuck = {workspace = true}
[build-dependencies]

View File

@@ -78,6 +78,7 @@ where
self.bytes_of_svp_ppol(1) + self.bytes_of_vec_znx_dft(1, b_size)
}
#[allow(clippy::too_many_arguments)]
/// Evaluates a bivariate convolution over Z[X, Y] / (X^N + 1) where Y = 2^-K over the
/// selected columsn and stores the result on the selected column, scaled by 2^{k * Base2K}
///
@@ -139,6 +140,7 @@ where
}
}
#[allow(clippy::too_many_arguments)]
fn bivariate_convolution<R, A, B>(
&self,
k: i64,