diff options
author | Bodo Möller <bodo@openssl.org> | 2002-10-28 14:02:19 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-10-28 14:02:19 +0000 |
commit | 19b8d06a7911d41ce8b3e347b4f58878e12d92ff (patch) | |
tree | deb9c6b9a4d34e5fb9dac030f672c17e17ca4cbb /crypto/bn/bn.h | |
parent | 5c6bf03117a26942327f43d02e9113e9870f7aba (diff) |
clean up new code for NIST primes
create new lock CRYPTO_LOCK_BN to avoid race condition
Diffstat (limited to 'crypto/bn/bn.h')
-rw-r--r-- | crypto/bn/bn.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index 21a1a90143..2f203fe3a9 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -547,14 +547,6 @@ BIGNUM *bn_dup_expand(const BIGNUM *a, int words); } \ } -#define bn_clear_top2max(a) \ - { \ - int index = (a)->dmax - (a)->top; \ - BN_ULONG *ftl = &(a)->d[(a)->top-1]; \ - for (; index != 0; index--) \ - *(++ftl) = 0x0; \ - } - BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num); |