Bodo Möller 14697d9d6d BN_to_montgomery expects its inputs to be in the interval 0 .. modulus-1,
so we have to reduce the random numbers used in test_mont.

Before this change, test_mont failed in [debug-]solaris-sparcv9-gcc
configurations ("Montgomery multiplication test failed!" because
the multiplication result obtained with Montgomery multiplication
differed from the result obtained by BN_mod_mul).
Substituing the old version of bn_gcd.c (BN_mod_inverse) did not avoid
the problem.

The strange thing is that it I did not observe any problems
when using debug-solaris-sparcv8-gcc and solaris-sparcv9-cc,
as well as when compiling OpenSSL 0.9.6 in the solaric-sparcv9-gcc
configuration on the same system.
2000-11-29 18:08:24 +00:00
..
2000-11-22 18:20:31 +00:00
1999-04-29 16:04:54 +00:00
2000-01-23 22:06:24 +00:00
2000-11-08 10:05:34 +00:00
2000-11-26 16:42:38 +00:00
2000-11-29 09:41:19 +00:00
2000-11-29 16:43:03 +00:00
2000-11-28 07:53:35 +00:00
2000-11-26 18:31:32 +00:00
2000-11-26 18:31:32 +00:00
2000-11-26 18:31:32 +00:00
2000-02-16 13:24:06 +00:00
2000-02-16 13:24:06 +00:00
2000-11-26 16:42:38 +00:00
2000-11-26 16:42:38 +00:00
2000-09-04 15:30:14 +00:00
2000-02-05 21:28:09 +00:00
2000-11-27 21:17:20 +00:00