aboutsummaryrefslogtreecommitdiff
path: root/primes.txt
diff options
context:
space:
mode:
authorGravatar jadep <jade.philipoom@gmail.com>2017-10-13 18:53:25 -0400
committerGravatar jadep <jade.philipoom@gmail.com>2017-10-16 10:41:32 -0400
commit9ff9aaadab0e1eeaff0db051d60f7e02ec8f3f21 (patch)
treea7a0adbfc10f4e63f16157b174e81f6ec740a972 /primes.txt
parentba5a94482e48a5a4e56e05e42a9c43dcc1526dbc (diff)
express montgomery-friendly moduli in a more script-friendly way, since we don't have extra support for them anyway
Diffstat (limited to 'primes.txt')
-rw-r--r--primes.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/primes.txt b/primes.txt
index 9b48fb6bc..08306b820 100644
--- a/primes.txt
+++ b/primes.txt
@@ -84,9 +84,9 @@
# Montgomery-Friendly
-# 2^240*(2^16 - 88) - 1
-# 2^240*(2^14 - 127) - 1
-# 2^376*(2^8 - 79) - 1
-# 2^368*(2^14 - 5) - 1
-# 2^496*(2^16 - 491) - 1
-# 2^496*(2^14 - 290) - 1
+2^256 - 88*2^240 - 1
+2^254 - 127*2^240 - 1
+2^384 - 79*2^376 - 1
+2^384 - 5*2^368 - 1
+2^512 - 491*2^496 - 1
+2^510 - 290*2^496 - 1