boringssl/crypto/bn
David Benjamin 44bedc348d Handle BN_mod_word failures.
As of 67cb49d045 and the corresponding upstream
change, BN_mod_word may fail, like BN_div_word. Handle this properly and
document in bn.h. Thanks to Brian Smith for pointing this out.

Change-Id: I6d4f32dc37bcabf70847c9a8b417d55d31b3a380
Reviewed-on: https://boringssl-review.googlesource.com/8491
Reviewed-by: Adam Langley <agl@google.com>
2016-06-23 21:25:18 +00:00
..
asm bn/asm/x86_64-mont5.pl: unify gather procedure in hardly used path and reorganize/harmonize post-conditions. 2016-03-01 18:04:20 +00:00
add.c
bn_asn1.c
bn_test.cc Handle BN_mod_word failures. 2016-06-23 21:25:18 +00:00
bn.c Set |bn->neg| to zero in |bn_set_words|. 2016-03-11 19:21:11 +00:00
CMakeLists.txt
cmp.c Verify RSA private key operation regardless of whether CRT is used. 2016-05-04 22:58:17 +00:00
convert.c Fix memory leak on error in BN_mpi2bn. 2016-04-29 16:20:14 +00:00
ctx.c
div.c Fix BN_mod_word bug. 2016-06-09 19:05:31 +00:00
exponentiation.c Remove unuseful comments in |BN_mod_exp|. 2016-05-13 19:10:47 +00:00
gcd.c Return earlier if inverse is not found in |BN_mod_inverse_ex|. 2016-06-16 18:32:35 +00:00
generic.c
internal.h Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
kronecker.c
montgomery.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
mul.c Make local functions static. 2016-03-20 16:37:58 +00:00
prime.c Handle BN_mod_word failures. 2016-06-23 21:25:18 +00:00
random.c
rsaz_exp.c
rsaz_exp.h
shift.c
sqrt.c