projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prime groups: Fix tests
[u/mdw/catacomb]
/
tests
/
mpmont
diff --git
a/tests/mpmont
b/tests/mpmont
index
389f2ed
..
fb05f5c
100644
(file)
--- a/
tests/mpmont
+++ b/
tests/mpmont
@@
-1,6
+1,6
@@
# Test vectors for Montgomery reduction
#
# Test vectors for Montgomery reduction
#
-# $Id
: mpmont,v 1.7 2004/04/01 12:50:41 mdw Exp
$
+# $Id$
create {
340809809850981098423498794792349 # m
create {
340809809850981098423498794792349 # m
@@
-35,8
+35,9
@@
exp {
8939489893434234331 1804289383 454353454354565 6139425926295484741;
8939489893434234331 1804289383 8939489893434234330 1;
8939489893434234331 1804289383 454353454354565 6139425926295484741;
8939489893434234331 1804289383 8939489893434234330 1;
- # --- Negative exponents ---
+ # --- Negative
and zero
exponents ---
+ 0xfffffffdffffffffffffffffffffffff 0xfffffffdfffffffffffffffffffffffe 0 1;
8939489893434234331 1804289383 -8939035539979879765 6139425926295484741;
# --- DSA public key derivation ---
8939489893434234331 1804289383 -8939035539979879765 6139425926295484741;
# --- DSA public key derivation ---