chore(ci): reduce max dimension threshold in lattice estimator

This commit is contained in:
David Testé
2023-09-18 09:43:17 +02:00
committed by David Testé
parent 723910c669
commit 53da809f37

View File

@@ -36,7 +36,7 @@ def check_security(filename):
try: try:
# The lattice estimator is not able to manage such large dimension. # The lattice estimator is not able to manage such large dimension.
# If we have the security for smaller `n` then we have security for larger ones. # If we have the security for smaller `n` then we have security for larger ones.
if param.n >= 32768: if param.n > 16384:
param = param.updated(n = 16384) param = param.updated(n = 16384)
usvp_level = LWE.primal_usvp(param, red_cost_model = model) usvp_level = LWE.primal_usvp(param, red_cost_model = model)