From 4bd866565584047d68b918e574248e7d5d8a2a7b Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Wed, 24 Aug 2022 17:21:32 +0200 Subject: [PATCH] fix(security): Update security curves --- compiler/lib/Support/V0Curves.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/lib/Support/V0Curves.cpp b/compiler/lib/Support/V0Curves.cpp index f3505aa32..cf47ac9e6 100644 --- a/compiler/lib/Support/V0Curves.cpp +++ b/compiler/lib/Support/V0Curves.cpp @@ -11,14 +11,14 @@ namespace mlir { namespace concretelang { V0Curves curves[SECURITY_LEVEL_MAX][KEY_FORMAT_MAX] = { - {V0Curves(SECURITY_LEVEL_80, -0.04047677865612648, 1.1433465085639063, 160, + {V0Curves(SECURITY_LEVEL_80, -0.04042633119364589, 1.6609788641436722, 450, 1)}, - {V0Curves(SECURITY_LEVEL_128, -0.026374888765705498, 2.012143923330495, 256, + {V0Curves(SECURITY_LEVEL_128, -0.02640502876522622, 2.4826422691043177, 450, 1)}, - {V0Curves(SECURITY_LEVEL_192, -0.018504919354426233, 2.6634073426215843, - 381, 1)}, - {V0Curves(SECURITY_LEVEL_256, -0.014327640360322604, 2.899270827311091, 781, - 1)}}; + {V0Curves(SECURITY_LEVEL_192, -0.018610403247590085, 3.2996236848399008, + 606, 1)}, + {V0Curves(SECURITY_LEVEL_256, -0.014606812351714953, 3.8493629234693003, + 826, 1)}}; V0Curves *getV0Curves(int securityLevel, int keyFormat) { if (securityLevel >= SECURITY_LEVEL_MAX || keyFormat >= KEY_FORMAT_MAX) {