openssl/crypto/bn
Emilia Kasper d46e946d26 BN_mod_exp_mont_consttime: check for zero modulus.
Don't dereference |d| when |top| is zero. Also test that various BIGNUM methods behave correctly on zero/even inputs.

Follow-up to b11980d79a

Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-08-31 19:33:42 +02:00
..
asm Conversion to UTF-8 where needed 2015-07-14 01:18:57 +02:00
.cvsignore Apply mingw patches as supplied by Roumen Petrov an Alon Bar-Lev 2008-04-17 10:19:16 +00:00
bn.h Fix off-by-one in BN_rand 2015-05-22 23:45:33 +01:00
bn.mul
bn_add.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_asm.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_blind.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_const.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_ctx.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_depr.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_div.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_err.c Fix off-by-one in BN_rand 2015-05-22 23:45:33 +01:00
bn_exp.c BN_mod_exp_mont_consttime: check for zero modulus. 2015-08-31 19:33:42 +02:00
bn_exp2.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_gcd.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_gf2m.c bn/bn_gf2m.c: avoid infinite loop wich malformed ECParamters. 2015-06-11 15:02:21 +01:00
bn_kron.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_lcl.h bn/bn_lcl.h: fix MIPS-specific gcc version check. 2015-05-26 10:08:44 +02:00
bn_lib.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_mod.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_mont.c Check for 0 modulus in BN_MONT_CTX_set 2015-08-11 20:23:00 +01:00
bn_mpi.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_mul.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_nist.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_prime.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_prime.h Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +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:29:13 +01:00
bn_rand.c Fix off-by-one in BN_rand 2015-05-22 23:45:33 +01:00
bn_recp.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_shift.c Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:21:55 +01:00
bn_sqr.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_sqrt.c Re-align some comments after running the reformat script. 2015-01-22 09:39:01 +00:00
bn_word.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_x931p.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bnspeed.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bntest.c BN_mod_exp_mont_consttime: check for zero modulus. 2015-08-31 19:33:42 +02:00
divtest.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
exp.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
expspeed.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
exptest.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
Makefile Fix the update target and remove duplicate file updates 2015-05-23 11:22:10 +02:00
todo
vms-helper.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00