Minimise the amount of code dependent on BN_DEBUG_RAND. In particular,
authorGeoff Thorpe <geoff@openssl.org>
Tue, 9 Mar 2004 03:53:40 +0000 (03:53 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 9 Mar 2004 03:53:40 +0000 (03:53 +0000)
commita8aa764d3c96eb65b22863cdc5f6ab08d92dd355
treef6b27ded43690e9ada28fb27ceba23ba3ea25431
parente7716b7a197d551a22dfdb4df6021db8e92bae5d
Minimise the amount of code dependent on BN_DEBUG_RAND. In particular,
redefine bn_clear_top2max() to be a NOP in the non-debugging case, and
remove some unnecessary usages in bn_nist.c.

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe, Ulf Möller
crypto/bn/bn_div.c
crypto/bn/bn_lcl.h
crypto/bn/bn_nist.c