aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e224m2e96p1
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-03 13:13:52 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-11-03 13:13:52 -0400
commit5f084c96eb159d83b60b4bff13a8d71751dd27a3 (patch)
tree69b47c407e30463af70f56162eca150456c20a79 /src/Specific/solinas64_2e224m2e96p1
parent53bba1294c33b80cfc03fdd8203a3eb0bf405321 (diff)
python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f)
Diffstat (limited to 'src/Specific/solinas64_2e224m2e96p1')
-rw-r--r--src/Specific/solinas64_2e224m2e96p1/CurveParameters.v2
-rwxr-xr-xsrc/Specific/solinas64_2e224m2e96p1/compiler.sh2
-rwxr-xr-xsrc/Specific/solinas64_2e224m2e96p1/compilerxx.sh2
-rwxr-xr-x[-rw-r--r--]src/Specific/solinas64_2e224m2e96p1/py_interpreter.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Specific/solinas64_2e224m2e96p1/CurveParameters.v b/src/Specific/solinas64_2e224m2e96p1/CurveParameters.v
index 9a4d93212..876e04190 100644
--- a/src/Specific/solinas64_2e224m2e96p1/CurveParameters.v
+++ b/src/Specific/solinas64_2e224m2e96p1/CurveParameters.v
@@ -2,7 +2,7 @@ Require Import Crypto.Specific.Framework.RawCurveParameters.
Require Import Crypto.Util.LetIn.
(***
-Modulus : 2^224 - 2^96 + 1
+Modulus : 2^224 - 2^96 + 1
Base: 56
***)
diff --git a/src/Specific/solinas64_2e224m2e96p1/compiler.sh b/src/Specific/solinas64_2e224m2e96p1/compiler.sh
index 4b5f8670a..56a83b9bf 100755
--- a/src/Specific/solinas64_2e224m2e96p1/compiler.sh
+++ b/src/Specific/solinas64_2e224m2e96p1/compiler.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dmodulus_limbs='4' -Da24_val='12345' -Dbitwidth='64' -Dq_mpz='(1_mpz<<224) - (1_mpz<<96) + 1 ' -Dlimb_weight_gaps_array='{56,56,56,56}' -Da24_hex='0x3039' -Dmodulus_bytes_val='28' -Dmodulus_array='{0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01}' "$@"
+gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Da24_hex='0x3039' -Da24_val='12345' -Dmodulus_limbs='4' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dmodulus_bytes_val='28' -Dbitwidth='64' -Dmodulus_array='{0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01}' -Dq_mpz='(1_mpz<<224) - (1_mpz<<96) + 1' -Dlimb_weight_gaps_array='{56,56,56,56}' "$@"
diff --git a/src/Specific/solinas64_2e224m2e96p1/compilerxx.sh b/src/Specific/solinas64_2e224m2e96p1/compilerxx.sh
index 5ea4215e1..f1137d342 100755
--- a/src/Specific/solinas64_2e224m2e96p1/compilerxx.sh
+++ b/src/Specific/solinas64_2e224m2e96p1/compilerxx.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dmodulus_limbs='4' -Da24_val='12345' -Dbitwidth='64' -Dq_mpz='(1_mpz<<224) - (1_mpz<<96) + 1 ' -Dlimb_weight_gaps_array='{56,56,56,56}' -Da24_hex='0x3039' -Dmodulus_bytes_val='28' -Dmodulus_array='{0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01}' "$@"
+g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Da24_hex='0x3039' -Da24_val='12345' -Dmodulus_limbs='4' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dmodulus_bytes_val='28' -Dbitwidth='64' -Dmodulus_array='{0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01}' -Dq_mpz='(1_mpz<<224) - (1_mpz<<96) + 1' -Dlimb_weight_gaps_array='{56,56,56,56}' "$@"
diff --git a/src/Specific/solinas64_2e224m2e96p1/py_interpreter.sh b/src/Specific/solinas64_2e224m2e96p1/py_interpreter.sh
index 8e97ed117..90728b246 100644..100755
--- a/src/Specific/solinas64_2e224m2e96p1/py_interpreter.sh
+++ b/src/Specific/solinas64_2e224m2e96p1/py_interpreter.sh
@@ -1,4 +1,4 @@
#!/bin/sh
set -eu
-/usr/bin/env python3 "$@" -Dq='2**224 - 2**96 + 1 ' -Dmodulus_bytes='56' -Da24='121665'
+/usr/bin/env python3 "$@" -Dq='2**224 - 2**96 + 1' -Dmodulus_bytes='56' -Da24='121665'