New function BN_bntest_rand() to detect more BN library bugs.
authorUlf Möller <ulf@openssl.org>
Sat, 2 Dec 2000 07:32:57 +0000 (07:32 +0000)
committerUlf Möller <ulf@openssl.org>
Sat, 2 Dec 2000 07:32:57 +0000 (07:32 +0000)
commit111482cf2e1eda0d433f939d23509094da706dc0
tree3361d437d0b7cbfb6e7732109f72dd0d1f1859fe
parent52a1bab2d9891810618569e6c744375b768fce8c
New function BN_bntest_rand() to detect more BN library bugs.

The bn_cmp_part_words bug was only caught in the BN_mod_mul() test,
not in the BN_mul() test, so apparently the choice of parameters in
some cases is bad.
crypto/bn/bn.h
crypto/bn/bn_rand.c
crypto/bn/bntest.c