boringssl/crypto/bn
Adam Langley 27ae9ed774 Small prime generation.
Ensure that, when generating small primes, the result is actually of the
requested size. Fixes OpenSSL #2701.

This change does not address the cases of generating safe primes, or
where the |add| parameter is non-NULL.
2014-06-20 13:17:34 -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 Small prime generation. 2014-06-20 13:17:34 -07:00
bn_test.c Small prime generation. 2014-06-20 13:17:34 -07:00
bn.c Inital import. 2014-06-20 13:17:32 -07:00
bn.h Small prime generation. 2014-06-20 13:17:34 -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 Inital import. 2014-06-20 13:17:32 -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 Inital import. 2014-06-20 13:17:32 -07:00