boringssl/crypto
Adam Langley 6887edb917 Improvements in constant-time OAEP decoding.
This change adds a new function, BN_bn2bin_padded, that attempts, as
much as possible, to serialise a BIGNUM in constant time.

This is used to avoid some timing leaks in RSA decryption.
2014-06-20 13:17:37 -07:00
..
aes Adjust stack pointer in AES-NI CBC decryption. 2014-06-20 13:17:35 -07:00
asn1 Const correctness. 2014-06-20 13:17:36 -07:00
base64 Base64 padding fix. 2014-06-20 13:17:36 -07:00
bio ChannelID support. 2014-06-20 13:17:33 -07:00
bn Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
buf Inital import. 2014-06-20 13:17:32 -07:00
bytestring Inital import. 2014-06-20 13:17:32 -07:00
chacha ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cipher ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
comp Inital import. 2014-06-20 13:17:32 -07:00
conf Inital import. 2014-06-20 13:17:32 -07:00
des Inital import. 2014-06-20 13:17:32 -07:00
dh Inital import. 2014-06-20 13:17:32 -07:00
digest Inital import. 2014-06-20 13:17:32 -07:00
dsa Safe (EC)DSA nonces. 2014-06-20 13:17:33 -07:00
ec EC infinity fix. 2014-06-20 13:17:36 -07:00
ecdh Inital import. 2014-06-20 13:17:32 -07:00
ecdsa Safe (EC)DSA nonces. 2014-06-20 13:17:33 -07:00
engine Inital import. 2014-06-20 13:17:32 -07:00
err Inital import. 2014-06-20 13:17:32 -07:00
evp Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
hmac Inital import. 2014-06-20 13:17:32 -07:00
lhash Inital import. 2014-06-20 13:17:32 -07:00
md5 Inital import. 2014-06-20 13:17:32 -07:00
modes Inital import. 2014-06-20 13:17:32 -07:00
obj Inital import. 2014-06-20 13:17:32 -07:00
pem Inital import. 2014-06-20 13:17:32 -07:00
perlasm This change merges upstream's updated ppc-xlate.pl. 2014-06-20 13:17:37 -07:00
pkcs8 Inital import. 2014-06-20 13:17:32 -07:00
poly1305 ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
rand Inital import. 2014-06-20 13:17:32 -07:00
rc4 GOT-relative lookups in RC4 code. 2014-06-20 13:17:32 -07:00
rsa Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
sha Inital import. 2014-06-20 13:17:32 -07:00
stack Inital import. 2014-06-20 13:17:32 -07:00
x509 Const correctness. 2014-06-20 13:17:36 -07:00
x509v3 Const correctness. 2014-06-20 13:17:36 -07:00
arm_arch.h Inital import. 2014-06-20 13:17:32 -07:00
base.h AEAD interface. 2014-06-20 13:17:34 -07:00
CMakeLists.txt ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cpu-arm.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-intel.c Inital import. 2014-06-20 13:17:32 -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
cpu.h Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.c Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.h Inital import. 2014-06-20 13:17:32 -07:00
directory_posix.c Inital import. 2014-06-20 13:17:32 -07: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
ex_data.h Inital import. 2014-06-20 13:17:32 -07:00
header_removed.h Inital import. 2014-06-20 13:17:32 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem_clear.c Inital import. 2014-06-20 13:17:32 -07:00
mem.c psk_client_callback, 128-byte id bug. 2014-06-20 13:17:37 -07:00
mem.h psk_client_callback, 128-byte id bug. 2014-06-20 13:17:37 -07:00
thread.c Inital import. 2014-06-20 13:17:32 -07:00
thread.h Inital import. 2014-06-20 13:17:32 -07:00
time_support.c Inital import. 2014-06-20 13:17:32 -07:00
time_support.h Inital import. 2014-06-20 13:17:32 -07:00
type_check.h Inital import. 2014-06-20 13:17:32 -07:00