diff options
author | Jason Gross <jgross@mit.edu> | 2017-11-03 12:26:42 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-11-03 12:26:42 -0400 |
commit | e18f56add80534fba83a009990eab3917a25b834 (patch) | |
tree | d6ab6b60f0ec77837dd6bb8919bda07e9d15b680 /src/Specific/solinas32_2e206m5 | |
parent | 3023b36389d67185786cb2537dad161d9ff630d5 (diff) |
python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f)
Diffstat (limited to 'src/Specific/solinas32_2e206m5')
-rwxr-xr-x | src/Specific/solinas32_2e206m5/compiler.sh | 2 | ||||
-rwxr-xr-x | src/Specific/solinas32_2e206m5/compilerxx.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Specific/solinas32_2e206m5/compiler.sh b/src/Specific/solinas32_2e206m5/compiler.sh index d2332eeb9..d182c36fa 100755 --- a/src/Specific/solinas32_2e206m5/compiler.sh +++ b/src/Specific/solinas32_2e206m5/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 -Dlimb_weight_gaps_array='{18,17,17,17,17,17,18,17,17,17,17,17}' -Dq_mpz='(1_mpz<<206) - 5' -Dlimb_t=uint32_t -Dmodulus_bytes_val='26' -Dmodulus_limbs='12' -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,0x30,0x39}' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb}' "$@" +gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb}' -Da24_val='12345' -Dlimb_weight_gaps_array='{18,17,17,17,17,17,18,17,17,17,17,17}' -Dq_mpz='(1_mpz<<206) - 5' -Da24_hex='0x3039' -Dlimb_t=uint32_t -Dmodulus_limbs='12' -Dmodulus_bytes_val='26' -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,0x30,0x39}' "$@" diff --git a/src/Specific/solinas32_2e206m5/compilerxx.sh b/src/Specific/solinas32_2e206m5/compilerxx.sh index ef6fba9d9..255f6df11 100755 --- a/src/Specific/solinas32_2e206m5/compilerxx.sh +++ b/src/Specific/solinas32_2e206m5/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 -Dlimb_weight_gaps_array='{18,17,17,17,17,17,18,17,17,17,17,17}' -Dq_mpz='(1_mpz<<206) - 5' -Dlimb_t=uint32_t -Dmodulus_bytes_val='26' -Dmodulus_limbs='12' -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,0x30,0x39}' -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb}' "$@" +g++ -march=native -mtune=native -std=gnu++11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Dmodulus_array='{0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb}' -Da24_val='12345' -Dlimb_weight_gaps_array='{18,17,17,17,17,17,18,17,17,17,17,17}' -Dq_mpz='(1_mpz<<206) - 5' -Da24_hex='0x3039' -Dlimb_t=uint32_t -Dmodulus_limbs='12' -Dmodulus_bytes_val='26' -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,0x30,0x39}' "$@" |