commit | 46a643763de6d8e39ecf6f76fa79b4d04885aa59 | [log] [tgz] |
---|---|---|
author | Bodo Möller <bodo@openssl.org> | Mon May 16 01:43:31 2005 +0000 |
committer | Bodo Möller <bodo@openssl.org> | Mon May 16 01:43:31 2005 +0000 |
tree | e1f3cfc98bddba797b5300977dbf3223f008fc4a | |
parent | 92c44685724c0d993ea8920577680f3c0a1d79c8 [diff] |
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