Skip to content

Commit

Permalink
Add 128-bit secure 5x256 (#372)
Browse files Browse the repository at this point in the history
Co-authored-by: Rick Weber <[email protected]>
  • Loading branch information
rickwebiii and Rick Weber authored Mar 12, 2024
1 parent fbfdce1 commit fa0717d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sunscreen_tfhe/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,15 @@ pub const LWE_512_128: LweDef = LweDef {
std: Stddev(0.0004899836456140595),
};

/// 128-bit secure parameters for a GLWE instance with 5 polynomials of degree 256.
pub const GLWE_5_256_128: GlweDef = GlweDef {
dim: GlweDimension {
size: GlweSize(5),
polynomial_degree: PolynomialDegree(256),
},
std: Stddev(5e-10),
};

/// 128-bit secure parameters for a GLWE instance with 1 polynomial of degree 1024.
pub const GLWE_1_1024_128: GlweDef = GlweDef {
dim: GlweDimension {
Expand Down

0 comments on commit fa0717d

Please sign in to comment.