diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-11-22 20:23:41 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-11-22 20:23:41 +0000 |
commit | 9e989810bade356f3edd599d5b62d159795f2d53 (patch) | |
tree | 883e97d00042092fb53db52eff884f8609d15f20 /crypto/engine/eng_cryptodev.c | |
parent | ec2179cf81687380eaef3c745e2dbbc15bbbe2cb (diff) | |
download | openssl-9e989810bade356f3edd599d5b62d159795f2d53.tar.gz |
BN_div() cleanup: replace the use of BN_sub and BN_add with bn_sub_words
and bn_add_words to avoid using fake bignums to window other bignums that
can lead to corruption. This change allows all bignum tests to pass with
BN_DEBUG and BN_DEBUG_RAND debugging and valgrind. NB: This should be
tested on a few different architectures and configuration targets, as the
bignum code this deals with is quite preprocessor (and assembly) sensitive.
Submitted by: Nils Narsch
Reviewed by: Geoff Thorpe, Ulf Moeller
Diffstat (limited to 'crypto/engine/eng_cryptodev.c')
0 files changed, 0 insertions, 0 deletions