openssl/crypto/bn
Matt Caswell 6a009812b2 Check for 0 modulus in BN_MONT_CTX_set
The function BN_MONT_CTX_set was assuming that the modulus was non-zero
and therefore that |mod->top| > 0. In an error situation that may not be
the case and could cause a seg fault.

This is a follow on from CVE-2015-1794.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-08-11 19:57:01 +01:00
..
asm Conversion to UTF-8 where needed 2015-07-14 01:10:01 +02:00
bn_add.c Some cleanups for crypto/bn 2015-07-22 14:43:05 -04: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 More secure storage of key material. 2015-06-23 17:09:35 -04: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_exp.c Rearrange rsaz 2015-06-23 02:59:47 +02:00
bn_exp2.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 bn/bn_gf2m.c: avoid infinite loop wich malformed ECParamters. 2015-06-11 13:34:13 +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 bn/bn_lcl.h: fix MIPS-specific gcc version check. 2015-05-26 10:06:28 +02:00
bn_lib.c RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
bn_mod.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mont.c Check for 0 modulus in BN_MONT_CTX_set 2015-08-11 19:57:01 +01: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 Fix off-by-one error in BN_bn2hex 2015-06-04 09:23:02 +01: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 make update 2015-06-23 02:59:47 +02:00
rsaz_exp.c Rearrange rsaz 2015-06-23 02:59:47 +02:00
rsaz_exp.h rsaz_exp.h: align license with the rest of the contribution 2015-07-23 14:20:28 +02:00
vms-helper.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00