openssl/crypto/bn
Matt Caswell efee575ad4 Fix off-by-one in BN_rand
If BN_rand is called with |bits| set to 1 and |top| set to 1 then a 1 byte
buffer overflow can occur. There are no such instances within the OpenSSL at
the moment.

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

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2015-05-22 23:40:38 +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
bn_print.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_rand.c Fix off-by-one in BN_rand 2015-05-22 23:40:38 +01: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