openssl/crypto/bn
Matt Caswell 7cc18d8158 Reject negative shifts for BN_rshift and BN_lshift
The functions BN_rshift and BN_lshift shift their arguments to the right or
left by a specified number of bits. Unpredicatable results (including
crashes) can occur if a negative number is supplied for the shift value.

Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke and Filip Palian
for discovering and reporting this issue.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2015-05-22 23:15:02 +01:00
..
asm bn/asm/vis3-mont.pl: fix intermittent EC failures on SPARC T3. 2015-05-20 09:11:25 +02:00
bn_add.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_asm.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_blind.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_const.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
bn_ctx.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_depr.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_dh.c Add OSSL_NELEM macro. 2015-05-03 12:53:08 +01:00
bn_div.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_err.c Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:15:02 +01:00
bn_exp2.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_exp.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_gcd.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_gf2m.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_intern.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_kron.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_lcl.h memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
bn_lib.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mod.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mont.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mpi.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mul.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_nist.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_prime.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_prime.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
bn_prime.pl Minimize stack utilization in probable_prime. 2007-09-18 20:52:05 +00:00
bn_print.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_rand.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_recp.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_shift.c Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:15:02 +01:00
bn_sqr.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_sqrt.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_srp.c Add OSSL_NELEM macro. 2015-05-03 12:53:08 +01:00
bn_word.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_x931p.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
Makefile Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
rsaz_exp.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rsaz_exp.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
vms-helper.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00