diff --git a/tools/parameter-curves/concrete-security-curves-cpp/include/concrete/curves.gen.h b/tools/parameter-curves/concrete-security-curves-cpp/include/concrete/curves.gen.h index 92d7597d2f..b9350f49ea 100644 --- a/tools/parameter-curves/concrete-security-curves-cpp/include/concrete/curves.gen.h +++ b/tools/parameter-curves/concrete-security-curves-cpp/include/concrete/curves.gen.h @@ -1,5 +1,6 @@ SecurityCurve curves[] = { SecurityCurve(128, -0.025696778711484593, 2.675931372549016, 450, KeyFormat::BINARY), + SecurityCurve(132, -0.024891456582633045, 2.65734593837534, 450, KeyFormat::BINARY), }; -size_t curvesLen = 1; +size_t curvesLen = 2; diff --git a/tools/parameter-curves/concrete-security-curves-rust/src/gaussian/curves_gen.rs b/tools/parameter-curves/concrete-security-curves-rust/src/gaussian/curves_gen.rs index b173b549b3..28bc88d234 100644 --- a/tools/parameter-curves/concrete-security-curves-rust/src/gaussian/curves_gen.rs +++ b/tools/parameter-curves/concrete-security-curves-rust/src/gaussian/curves_gen.rs @@ -1,4 +1,18 @@ use super::security_weights::SecurityWeights; -pub const SECURITY_WEIGHTS_ARRAY: [(u64, SecurityWeights); 1] = [ - (128, SecurityWeights { slope: -0.025696778711484593, bias: 2.675931372549016, minimal_lwe_dimension: 450 }), +pub const SECURITY_WEIGHTS_ARRAY: [(u64, SecurityWeights); 2] = [ + ( + 128, + SecurityWeights { + slope: -0.025696778711484593, + bias: 2.675931372549016, + minimal_lwe_dimension: 450, + }, + ), + ( + 132, + SecurityWeights { + slope: -0.024891456582633045, + bias: 2.65734593837534, + minimal_lwe_dimension: 450, + ), ];