openssl/crypto/bn
Geoff Thorpe e7716b7a19 More changes coming out of the bignum auditing. BN_CTX_get() should ideally
return a "zero" bignum as BN_new() does - so reset 'top'. During
BN_CTX_end(), released bignums should be consistent so enforce this in
debug builds. Also, reduce the number of wasted BN_clear_free() calls from
BN_CTX_end() (typically by 75% or so).

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe, Ulf Möller
2004-03-09 03:47:35 +00:00
..
asm Typo in crypto/bn/asm/x86_64.c, bn_div_words(). 2004-02-07 09:51:28 +00:00
.cvsignore Ignore Makefile.save 1999-04-29 16:04:54 +00:00
bn.h BN_FLG_FREE is of extremely dubious usefulness, and is only referred to 2003-12-02 03:16:56 +00:00
bn.mul Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
bn_add.c Add "dif" variable to clean up the loop implementations. 2003-12-06 11:55:46 +00:00
bn_asm.c Make the definition of bn_add_words() match the definition. 2000-11-18 20:49:02 +00:00
bn_blind.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_ctx.c More changes coming out of the bignum auditing. BN_CTX_get() should ideally 2004-03-09 03:47:35 +00:00
bn_depr.c remove accidentally committed debugging cruft. 2003-10-29 05:35:31 +00:00
bn_div.c BN_div() cleanup: replace the use of BN_sub and BN_add with bn_sub_words 2003-11-22 20:23:41 +00:00
bn_err.c Make sure we get the definition of OPENSSL_NO_ERR. 2003-03-20 23:19:41 +00:00
bn_exp.c Use the BN_is_odd() macro in place of code that (inconsistently) does much 2003-12-02 03:28:24 +00:00
bn_exp2.c Use the BN_is_odd() macro in place of code that (inconsistently) does much 2003-12-02 03:28:24 +00:00
bn_gcd.c Avoid segfault if ret==0. 2003-12-06 11:39:37 +00:00
bn_gf2m.c Even though C specification explicitly says that constant type "stretches" 2004-01-25 10:53:43 +00:00
bn_kron.c Add missing bn_check_top()s to bn_kron.c, remove some miscellaneous 2003-12-01 23:11:45 +00:00
bn_lcl.h The bn_set_max() macro is only "used" by the bn_set_[low|high]() macros 2003-12-01 22:11:08 +00:00
bn_lib.c Use BUF_strlcpy() instead of strcpy(). 2003-12-27 14:40:17 +00:00
bn_mod.c When adding positive elements, we can use BN_uadd() instead of BN_add(). 2004-02-22 19:30:41 +00:00
bn_mont.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_mpi.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_mul.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_nist.c Even though C specification explicitly says that constant type "stretches" 2004-01-25 10:53:43 +00:00
bn_prime.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_prime.h Move primes to read-only segment. 2000-02-16 13:24:06 +00:00
bn_prime.pl Fix prime generation loop in crypto/bn/bn_prime.pl by making 2003-09-25 13:57:58 +00:00
bn_print.c Use BUF_strlcpy() instead of strcpy(). 2003-12-27 14:40:17 +00:00
bn_rand.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_recp.c bn_fix_top() exists for compatibility's sake and is mapped to 2003-12-01 21:59:40 +00:00
bn_shift.c This rewrites two "for" loops in BN_rshift() - equality with zero is 2003-11-13 15:03:14 +00:00
bn_sqr.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_sqrt.c Put the first stage of my bignum debugging adventures into CVS. This code 2003-11-04 22:54:49 +00:00
bn_word.c Fix some handling in bn_word. This also resolves the issues observed in 2003-11-25 20:39:19 +00:00
bnspeed.c Code for better build under Darwin (MacOS X). 2001-03-07 10:04:00 +00:00
bntest.c Update any code that was using deprecated functions so that everything builds 2003-10-29 04:14:08 +00:00
divtest.c Fix to build better with DJGPP. 2002-11-14 11:22:01 +00:00
exp.c - Pseudo-seed the PRNG in programs used for "make test" 2000-01-14 17:55:37 +00:00
expspeed.c Code for better build under Darwin (MacOS X). 2001-03-07 10:04:00 +00:00
exptest.c Netware-specific changes, 2003-11-28 13:10:58 +00:00
Makefile.ssl Typo in PA-RISC 2 rules in crypto/bn/Makefile.ssl 2004-01-30 05:41:23 +00:00
todo Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
vms-helper.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00