openssl/crypto/bn
Andy Polyakov a159719440 bn/asm/x86[_64]-mont*.pl: complement alloca with page-walking.
Some OSes, *cough*-dows, insist on stack being "wired" to
physical memory in strictly sequential manner, i.e. if stack
allocation spans two pages, then reference to farmost one can
be punishable by SEGV. But page walking can do good even on
other OSes, because it guarantees that villain thread hits
the guard page before it can make damage to innocent one...

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit adc4f1fc25)

Resolved conflicts:
	crypto/bn/asm/x86_64-mont.pl
	crypto/bn/asm/x86_64-mont5.pl

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-07 22:16:11 +01:00
..
asm bn/asm/x86[_64]-mont*.pl: complement alloca with page-walking. 2016-03-07 22:16:11 +01:00
bn.h Fix BN_hex2bn/BN_dec2bn NULL ptr/heap corruption 2016-02-29 16:40:02 +00: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/bn_exp.c: constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF. 2016-03-01 11:24:05 +00:00
bn_exp2.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
bn_gcd.c Set flags to 0 before calling BN_with_flags() 2015-10-07 20:41:15 +02:00
bn_gf2m.c BN_GF2m_mod_inv(): check bn_wexpand return value 2015-10-29 20:41:32 +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 BN_hex2bn/BN_dec2bn NULL ptr/heap corruption 2016-02-29 16:40:02 +00:00
bn_rand.c Fix off-by-one in BN_rand 2015-05-22 23:45:33 +01:00
bn_recp.c GH714: missing field initialisation 2016-02-23 13:21:48 -05: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 Fix memory leaks and other mistakes on errors 2015-10-23 20:38:52 +02: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 Fix a ** 0 mod 1 = 0 for real this time. 2015-12-14 18:27:04 +01:00
Makefile make update 2016-03-01 13:40:45 +00:00
todo
vms-helper.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00