From efd0cc529c0885b2ce45e30c461013e919b8402d Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Wed, 11 Jan 2023 20:32:32 +0100 Subject: [PATCH] chore: update generated curves --- .../include/concrete/curves.gen.h | 8 ++++---- concrete-security-curves-rust/src/curves.gen.rs | 8 ++++---- json/curves.json | 2 +- lattice-estimator | 2 +- sage-object/verified_curves.sobj | Bin 479 -> 481 bytes 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/concrete-security-curves-cpp/include/concrete/curves.gen.h b/concrete-security-curves-cpp/include/concrete/curves.gen.h index e33c5d3f5..589568832 100644 --- a/concrete-security-curves-cpp/include/concrete/curves.gen.h +++ b/concrete-security-curves-cpp/include/concrete/curves.gen.h @@ -1,7 +1,7 @@ std::vector curves { - SecurityCurve(80,-0.0404263311936459, 1.660978864143658, 450, KeyFormat::BINARY), - SecurityCurve(112,-0.02967013708113588, 2.16246371408387, 450, KeyFormat::BINARY), - SecurityCurve(128,-0.026405028765226296, 2.482642269104389, 450, KeyFormat::BINARY), - SecurityCurve(192,-0.018610403247590064, 3.2996236848399008, 606, KeyFormat::BINARY), + SecurityCurve(80,-0.04045822621883835, 1.7183812000404686, 450, KeyFormat::BINARY), + SecurityCurve(112,-0.029881371645803536, 2.6539316216894946, 450, KeyFormat::BINARY), + SecurityCurve(128,-0.026599462343105267, 2.981543184145991, 450, KeyFormat::BINARY), + SecurityCurve(192,-0.018894148763647572, 4.2700349965659115, 532, KeyFormat::BINARY), } diff --git a/concrete-security-curves-rust/src/curves.gen.rs b/concrete-security-curves-rust/src/curves.gen.rs index 0875dde19..e4ae04ce2 100644 --- a/concrete-security-curves-rust/src/curves.gen.rs +++ b/concrete-security-curves-rust/src/curves.gen.rs @@ -1,6 +1,6 @@ const SECURITY_WEIGHTS_ARRAY: [(u64, SecurityWeights); 4] = [ - (80, SecurityWeights { slope: -0.0404263311936459, bias: 1.660978864143658, minimal_lwe_dimension: 450 }), - (112, SecurityWeights { slope: -0.02967013708113588, bias: 2.16246371408387, minimal_lwe_dimension: 450 }), - (128, SecurityWeights { slope: -0.026405028765226296, bias: 2.482642269104389, minimal_lwe_dimension: 450 }), - (192, SecurityWeights { slope: -0.018610403247590064, bias: 3.2996236848399008, minimal_lwe_dimension: 606 }), + (80, SecurityWeights { slope: -0.04045822621883835, bias: 1.7183812000404686, minimal_lwe_dimension: 450 }), + (112, SecurityWeights { slope: -0.029881371645803536, bias: 2.6539316216894946, minimal_lwe_dimension: 450 }), + (128, SecurityWeights { slope: -0.026599462343105267, bias: 2.981543184145991, minimal_lwe_dimension: 450 }), + (192, SecurityWeights { slope: -0.018894148763647572, bias: 4.2700349965659115, minimal_lwe_dimension: 532 }), ]; diff --git a/json/curves.json b/json/curves.json index ea5bc7cc4..32d02aa43 100644 --- a/json/curves.json +++ b/json/curves.json @@ -1 +1 @@ -[{"slope": -0.0404263311936459, "bias": 1.660978864143658, "security_level": 80, "minimal_lwe_dimension": 450}, {"slope": -0.02967013708113588, "bias": 2.16246371408387, "security_level": 112, "minimal_lwe_dimension": 450}, {"slope": -0.026405028765226296, "bias": 2.482642269104389, "security_level": 128, "minimal_lwe_dimension": 450}, {"slope": -0.018610403247590064, "bias": 3.2996236848399008, "security_level": 192, "minimal_lwe_dimension": 606}] +[{"slope": -0.04045822621883835, "bias": 1.7183812000404686, "security_level": 80, "minimal_lwe_dimension": 450}, {"slope": -0.029881371645803536, "bias": 2.6539316216894946, "security_level": 112, "minimal_lwe_dimension": 450}, {"slope": -0.026599462343105267, "bias": 2.981543184145991, "security_level": 128, "minimal_lwe_dimension": 450}, {"slope": -0.018894148763647572, "bias": 4.2700349965659115, "security_level": 192, "minimal_lwe_dimension": 532}] diff --git a/lattice-estimator b/lattice-estimator index fd370d950..f9f4b3c69 160000 --- a/lattice-estimator +++ b/lattice-estimator @@ -1 +1 @@ -Subproject commit fd370d950838859f14212d3c632813f829a6e172 +Subproject commit f9f4b3c69d5be6df2c16243e8b1faa80703f020c diff --git a/sage-object/verified_curves.sobj b/sage-object/verified_curves.sobj index 8048bb4c0f70d1a6c573d77ccc21a6d81acd9b10..f27b9a0097b02d876c40e9d6960bdb54eacd95e2 100644 GIT binary patch literal 481 zcmV<70UrK%oK??TYZE~jhw&VncGI+t)>B)xYOV1Ut?>|T+OD>0>q3a{h3t)J+(x#T zr1_`Yiy%rWGF9+G(Hm10L_vxO1rH#K%Df*;XS9Jh7sD{~8=jeZ;3|BHgi~HDRcc9R zzFJ6@7K`3ozFN)Kj0GoO%vTNg|D7ANUae9v5U>M2pYLWG!G{l)5h8>WR?zmVy$ss2 z+3cm?YW$rnpNGf|=bAG=TW}VPLRl{iwA(!j^C!8&ANUck$uIJ){D}^`O>GzR-duSE zhCr0iDG(!cxqdh7w%bvCtIqd=Gk5Otw+VE+O7#%p0viY$t(@DGhLX|lA^yx?OF0w0 z8g3$N7T7}A>S0@A9d;=g;b*+c@6z(Qe5Ibzr*S`FKwvvzM@xHy4 Xo0!t_JmG@CMZ&a)nL_dpZrafN+#c}T literal 479 zcmV<50U-W(oK4T$PZL2D2Jmfbaao|=6;ToI>xF6+0R^FW*Oi8xr@n|;mnDlSrC+-| zR1;G%j&~ESF(D9)ktco9_)=qnIrE3X=DQ9mr0`IN#BtGvSRnXttf3)ZZusM+h>AH6r0#a7L>5w;8L zAhd_rX|FO}Lq6dz+{nmzmzPwH4vlvab_?twbgse{1-ttAgB0Aj70Y6;R$YXB0{aOE zoKmnRTXo3>f9sKNe14(Q4{Cada9H37!47fMj(n({AIV=2{I{%