aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/mp_valid.dat
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-03 22:16:51 +0000
committerlloyd <[email protected]>2014-11-03 22:16:51 +0000
commitbcd83686c3daed38974d1f9b533c07d35c5a7476 (patch)
tree3203d6f30423ebf3b7b5b3d4aa2b9ecc9ce5ba5e /src/tests/data/mp_valid.dat
parentd623823e7e0d2754343ab498f48976e91180d24f (diff)
Various small fixes and cleanups, new is_prime util
Diffstat (limited to 'src/tests/data/mp_valid.dat')
-rw-r--r--src/tests/data/mp_valid.dat9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/data/mp_valid.dat b/src/tests/data/mp_valid.dat
index 1b45bf9bb..47a5df1f1 100644
--- a/src/tests/data/mp_valid.dat
+++ b/src/tests/data/mp_valid.dat
@@ -5419,6 +5419,10 @@
2:1
3:1
4:0
+255:0
+257:1
+65517:0
+65521:1
65537:1
# This one passes Miller-Rabin with a base of 2, but not with most others
@@ -5466,3 +5470,8 @@
2701791887072337189992932234179329410389241899414841054215169960\
1546741832617953638436279944072980418788682453341495300190580109\
0622787969540076319408964006231:0
+
+# Carmichael numbers
+232250619601:0
+9746347772161:0
+340561:0