From 4a5083bdea8bdb2c7b8e2714cd4e8d4e66b62e7a Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 12 Aug 2021 14:53:59 +0100 Subject: [PATCH] this todo has been fixed --- scripts.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts.py b/scripts.py index f58d0f52b..914a347ba 100644 --- a/scripts.py +++ b/scripts.py @@ -273,7 +273,6 @@ def generate_parameter_matrix(n_range, sd=None, q=2**32, reduction_cost_model=es :param target_security: the target number of bits of security, 128 is default TODO: we should probably parallelise this function for speed - TODO: code seems to fail when the initial estimate is < target_security bits EXAMPLE: sage: X = generate_parameter_matrix([788, 790]) @@ -364,10 +363,6 @@ def generate_parameter_step(results, label = None, torus_sd = True): return plt -# dual bug example -# n = 256; q = 2**32; sd = 2**(-4); reduction_cost_model = BKZ.sieve -# _ = estimate_lwe(n, alpha, q, reduction_cost_model) - def test_params(n, q, sd, secret_distribution): sd = sd * q