]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/dh/dh_key.c
Implement fixed-window exponentiation to mitigate hyper-threading
authorBodo Möller <bodo@openssl.org>
Mon, 16 May 2005 01:43:31 +0000 (01:43 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 16 May 2005 01:43:31 +0000 (01:43 +0000)
commit46a643763de6d8e39ecf6f76fa79b4d04885aa59
treee1f3cfc98bddba797b5300977dbf3223f008fc4a
parent92c44685724c0d993ea8920577680f3c0a1d79c8
Implement fixed-window exponentiation to mitigate hyper-threading
timing attacks.

BN_FLG_EXP_CONSTTIME requests this algorithm, and this done by default for
RSA/DSA/DH private key computations unless
RSA_FLAG_NO_EXP_CONSTTIME/DSA_FLAG_NO_EXP_CONSTTIME/
DH_FLAG_NO_EXP_CONSTTIME is set.

Submitted by: Matthew D Wood
Reviewed by: Bodo Moeller
19 files changed:
CHANGES
apps/speed.c
crypto/bn/bn.h
crypto/bn/bn_err.c
crypto/bn/bn_exp.c
crypto/bn/bn_lcl.h
crypto/bn/bntest.c
crypto/bn/expspeed.c
crypto/bn/exptest.c
crypto/dh/dh.h
crypto/dh/dh_key.c
crypto/dh/dhtest.c
crypto/dsa/dsa.h
crypto/dsa/dsa_key.c
crypto/dsa/dsa_ossl.c
crypto/dsa/dsatest.c
crypto/rsa/rsa.h
crypto/rsa/rsa_eay.c
crypto/rsa/rsa_test.c