feat:current curves vs lattice-estimator

This commit is contained in:
Samuel Tap
2022-12-16 18:46:55 +01:00
parent a6851e0c40
commit 4e1197f2d7
2 changed files with 125 additions and 9 deletions

View File

@@ -188,12 +188,12 @@ def generate_zama_curves64(
return "done"
# The script runs the following commands
# grab values of the command-line input arguments
security = int(sys.argv[1])
sd_min = int(sys.argv[2])
sd_max = int(sys.argv[3])
margin = int(sys.argv[4])
# run the code
generate_zama_curves64(sd_range=(sd_min, sd_max), target_security_levels=[security + margin], name="security_{}_margin_{} ".format(security, margin))
if __name__ == "__main__":
# The script runs the following commands
# grab values of the command-line input arguments
security = int(sys.argv[1])
sd_min = int(sys.argv[2])
sd_max = int(sys.argv[3])
margin = int(sys.argv[4])
# run the code
generate_zama_curves64(sd_range=(sd_min, sd_max), target_security_levels=[security + margin], name="security_{}_margin_{} ".format(security, margin))