Bodo Möller
|
b2993bdea1
Remove randomness from the test. These constants give me a segment
|
24 år sedan |
Bodo Möller
|
470fa98f8a
BN_mod_exp(r,a,p,m,ctx) should not be called with r == p.
|
24 år sedan |
Bodo Möller
|
de6e207db6
It's "#elif", not "#elsif".
|
24 år sedan |
Bodo Möller
|
04ca16890b
BN_mod_exp problems ...
|
24 år sedan |
Bodo Möller
|
77ac92d00a
Fix bntest.c problem -- one of the primes got lost
|
24 år sedan |
Bodo Möller
|
cd2eebfd64
BN_sqrt
|
24 år sedan |
Bodo Möller
|
eb1f1b0a34
Fix BN_kronecker so that it works correctly if 'a' is negative
|
24 år sedan |
Bodo Möller
|
14697d9d6d
BN_to_montgomery expects its inputs to be in the interval 0 .. modulus-1,
|
24 år sedan |
Bodo Möller
|
03a0848922
Fix warnings in expspeed.c (but the segmentation fault remains)
|
24 år sedan |
Bodo Möller
|
bdec3c5323
Implement BN_kronecker test.
|
24 år sedan |
Bodo Möller
|
d79cab27a5
Correct a bug in BN_kronecker.
|
24 år sedan |
Bodo Möller
|
c782089611
Add test_kron function, which will contain a test for BN_kronecker.
|
24 år sedan |
Bodo Möller
|
077ff61eef
Undo previous commit, which was an accident.
|
24 år sedan |
Bodo Möller
|
dcbd0d74d5
Fix BN_is_... macros.
|
24 år sedan |
Bodo Möller
|
5acaa49504
More BN_mod_... functions.
|
24 år sedan |
Richard Levitte
|
020fc820dc
Constify the BIGNUM routines a bit more. The only trouble were the
|
24 år sedan |
Bodo Möller
|
df83eeb710
Update comment.
|
24 år sedan |
Dr. Stephen Henson
|
587bb0e02e
Don't call BN_rand with zero bits in bntest.c
|
24 år sedan |
Richard Levitte
|
f36e02b2ef
Enhance consistency by using BIO_flush() instead of fflush().
|
24 år sedan |
Bodo Möller
|
0dd0cbf554
Do fflush(stdout) when there was an error.
|
24 år sedan |
Ulf Möller
|
4a26329b4c
correct macro.
|
24 år sedan |
Andy Polyakov
|
ea96c4bc7f
test_mont was exercising 100-bit multiplication modulus X*I-bit, where
|
24 år sedan |
Ralf S. Engelschall
|
667ac4ec6a
Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith -Wcast-align
|
24 år sedan |
Dr. Stephen Henson
|
f07fb9b24b
Add command line password options to the reamining utilities,
|
25 år sedan |
Ulf Möller
|
4e539aaa1e
"print" is GNU bc specific.
|
25 år sedan |
Ulf Möller
|
fcb20be846
put missing line back in.
|
25 år sedan |
Ulf Möller
|
cae55bfc68
Improve bntest slightly, and fix another bug in the BN library.
|
25 år sedan |
Bodo Möller
|
6e0cad8d34
enable Montgomery test
|
25 år sedan |
Ulf Möller
|
b25c8db872
AFAICS lst1 stands for "lshift test" not "list".
|
25 år sedan |
Bodo Möller
|
4146aa6b42
Rename lst1 to list1 to avoid name conflict on some platforms.
|
25 år sedan |