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