openssl/crypto/bn
Matt Caswell 02fef91630 Fixed valgrind complaint due to BN_consttime_swap reading uninitialised data.
This is actually ok for this function, but initialised to zero anyway if
PURIFY defined.

This does have the impact of masking any *real* unitialised data reads in bn though.

Patch based on approach suggested by Rich Salz.

PR#3415

(cherry picked from commit 77747e2d9a5573b1dbc15e247ce18c03374c760c)
2014-07-13 22:36:03 +01:00
..
asm x86-mont.pl: fix bug in integer-only squaring path [from HEAD]. 2011-12-09 14:28:48 +00:00
.cvsignore Unobtrusive backport of 32-bit x86 Montgomery improvements from 0.9.9-dev: 2008-05-01 23:11:34 +00:00
bn.h Fix for CVE-2014-0076 backported to 0.9.8 branch 2014-03-27 00:55:08 +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 3-4 times better RSA/DSA performance on WIN64A target [from HEAD]. 2005-08-04 17:42:58 +00:00
bn_blind.c BN_BLINDING multi-threading fix. 2011-10-19 14:57:59 +00:00
bn_const.c Update from HEAD. 2005-10-05 17:53:40 +00:00
bn_ctx.c don't let BN_CTX_free(NULL) segfault 2005-04-29 21:20:31 +00:00
bn_depr.c remove accidentally committed debugging cruft. 2003-10-29 05:35:31 +00:00
bn_div.c Fix warnings. 2010-02-28 13:37:15 +00:00
bn_err.c fix error codes 2007-04-19 15:14:39 +00:00
bn_exp.c Update from HEAD. 2009-06-17 11:26:39 +00:00
bn_exp2.c PR: 2295 2010-10-11 23:28:54 +00:00
bn_gcd.c Privatize BN_*_no_branch [from HEAD]. 2007-06-11 16:33:50 +00:00
bn_gf2m.c Fix 0.9.8 FIPS capable OpenSSL build. 2014-06-06 12:31:13 +01: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 Add framework for bn_mul_mont [from 098-fips]. 2007-11-11 20:43:23 +00:00
bn_lib.c Fixed valgrind complaint due to BN_consttime_swap reading uninitialised data. 2014-07-13 22:36:03 +01: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 bignum: allow concurrent BN_MONT_CTX_set_locked() 2014-05-06 18:23:49 -04: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 Fix gcc 4.6 warnings. Check TLS server hello extension length. 2010-06-12 13:18:58 +00:00
bn_nist.c Synchronize with bn_nist.c from HEAD. 2008-12-30 13:41:08 +00:00
bn_opt.c Part FIPS bn merge: move functiosn to bn_opt.c to reduce dependencies. 2008-09-16 11:08:24 +00:00
bn_prime.c Minimize stack utilization in probable_prime [from HEAD]. 2007-09-18 20:55:10 +00:00
bn_prime.h Minimize stack utilization in probable_prime [from HEAD]. 2007-09-18 20:55:10 +00:00
bn_prime.pl Minimize stack utilization in probable_prime [from HEAD]. 2007-09-18 20:55:10 +00:00
bn_print.c Update from fips2 branch. 2007-02-03 17:32:14 +00:00
bn_rand.c Constification. 2008-10-18 14:27:36 +00:00
bn_recp.c fix warnings when building openssl with (gcc 3.3.1): 2005-08-28 23:20:52 +00:00
bn_shift.c Fix crash in BN_rshift [from HEAD]. 2008-10-28 13:47:38 +00:00
bn_sqr.c Make sure BN_sqr can never return a negative value. 2014-06-26 23:52:18 +01:00
bn_sqrt.c avoid potential spurious BN_free() 2005-08-23 04:14:55 +00:00
bn_word.c bn_word.c: fix overflow bug in BN_add_word. 2013-02-05 16:50:36 +00:00
bn_x931p.c Change old obsolete email address... 2008-11-05 18:36:57 +00:00
bnspeed.c Code for better build under Darwin (MacOS X). 2001-03-07 10:04:00 +00:00
bntest.c PR: 2062 2009-10-01 00:22:23 +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 Implement fixed-window exponentiation to mitigate hyper-threading 2005-05-16 01:43:31 +00:00
exptest.c Implement fixed-window exponentiation to mitigate hyper-threading 2005-05-16 01:43:31 +00:00
Makefile Make update: delete duplicate error code. 2008-09-17 17:11:09 +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