fix(security): Update security curves

This commit is contained in:
Quentin Bourgerie
2022-08-24 17:21:32 +02:00
parent f89b1530d8
commit 4bd8665655

View File

@@ -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) {