boringssl/crypto/bn
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
..
asm Add needed volatile qualifications. 2014-06-20 13:17:33 -07:00
add.c Inital import. 2014-06-20 13:17:32 -07:00
bn_error.c Add function to recover RSA CRT params. 2014-06-20 13:17:35 -07:00
bn_test.c Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
bn.c Inital import. 2014-06-20 13:17:32 -07:00
bn.h Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
cmp.c Inital import. 2014-06-20 13:17:32 -07:00
convert.c Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
ctx.c Inital import. 2014-06-20 13:17:32 -07:00
div.c Check for invalid divisors in BN_div. 2014-06-20 13:17:33 -07:00
exponentiation.c Ensure that x**0 mod 1 = 0. 2014-06-20 13:17:34 -07:00
gcd.c Inital import. 2014-06-20 13:17:32 -07:00
generic.c Inital import. 2014-06-20 13:17:32 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
kronecker.c Inital import. 2014-06-20 13:17:32 -07:00
montgomery.c Inital import. 2014-06-20 13:17:32 -07:00
mul.c Inital import. 2014-06-20 13:17:32 -07:00
prime.c Small prime generation. 2014-06-20 13:17:34 -07:00
random.c Safe (EC)DSA nonces. 2014-06-20 13:17:33 -07:00
rsaz_exp.c Inital import. 2014-06-20 13:17:32 -07:00
rsaz_exp.h Inital import. 2014-06-20 13:17:32 -07:00
shift.c Inital import. 2014-06-20 13:17:32 -07:00
sqrt.c Add function to recover RSA CRT params. 2014-06-20 13:17:35 -07:00