boringssl/crypto
David Benjamin 0aa0767340 Improve constant-time padding check in RSA key exchange.
Although the PKCS#1 padding check is internally constant-time, it is not
constant time at the crypto/ ssl/ API boundary. Expose a constant-time
RSA_message_index_PKCS1_type_2 function and integrate it into the
timing-sensitive portion of the RSA key exchange logic.

Change-Id: I6fa64ddc9d65564d05529d9b2985da7650d058c3
Reviewed-on: https://boringssl-review.googlesource.com/1301
Reviewed-by: Adam Langley <agl@google.com>
2014-07-25 20:25:15 +00:00
..
aes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
asn1 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
base64 Document that EVP_EncodeBlock writes a trailing NUL. 2014-07-18 00:55:18 +00:00
bio Have BIO_get_mem_data return a size_t and uint8_t* 2014-07-18 17:22:05 +00:00
bn Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
buf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bytestring Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
chacha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
cipher Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
conf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
des Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
digest Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ec ec: recognise known parameters when written in full. 2014-07-19 00:03:13 +00:00
ecdh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdsa Change ECDSA_METHOD's size() to group_order_size() 2014-07-15 22:26:08 +00:00
engine Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
err Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
evp Introduce EVP_PKEY_is_opaque to replace RSA_METHOD_FLAG_NO_CHECK. 2014-07-18 23:35:04 +00:00
hmac Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
md5 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
modes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
obj Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
perlasm Ensure x86asm.pl ends with a newline. 2014-07-17 19:20:22 +00:00
pkcs8 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
poly1305 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rand Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rc4 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rsa Improve constant-time padding check in RSA key exchange. 2014-07-25 20:25:15 +00:00
sha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
stack Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509 base64: fix underflow in EVP_EncodeBlock. 2014-07-16 18:14:32 +00:00
x509v3 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
arm_arch.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-arm.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-intel.c Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
directory_posix.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Inital import. 2014-06-20 13:17:32 -07:00
ex_data_impl.c Inital import. 2014-06-20 13:17:32 -07:00
ex_data.c Inital import. 2014-06-20 13:17:32 -07:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem_clear.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
mem.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
thread.c Inital import. 2014-06-20 13:17:32 -07:00
time_support.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00