boringssl/crypto/bn
David Benjamin c02f148fa8 Fix error handling in bn_exp
In the event of an error |rr| could be NULL. Therefore don't assume you can
use |rr| in the error handling code.

(Imported from upstream's 8c5a7b33c6269c3bd6bc0df6b4c22e4fba03b485.)

Change-Id: I0b392991ce8170dc418e93003af256d535d1e2e8
Reviewed-on: https://boringssl-review.googlesource.com/4005
Reviewed-by: Adam Langley <agl@google.com>
2015-03-19 11:10:27 +00:00
..
asm Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
add.c Inital import. 2014-06-20 13:17:32 -07:00
bn_test.c Error codes are uint32_t, not unsigned long. 2015-03-13 19:41:42 +00:00
bn.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
cmp.c Inital import. 2014-06-20 13:17:32 -07:00
convert.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
ctx.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
div.c Add some missing error failure checks. 2015-02-17 20:55:56 +00:00
exponentiation.c Fix error handling in bn_exp 2015-03-19 11:10:27 +00:00
gcd.c Add some missing error failure checks. 2015-02-17 20:55:56 +00:00
generic.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
internal.h Fix standalone build on Win64. 2015-02-11 23:13:52 +00:00
kronecker.c Inital import. 2014-06-20 13:17:32 -07:00
montgomery.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
mul.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
prime.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
random.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
rsaz_exp.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
rsaz_exp.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
shift.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
sqrt.c Add function to recover RSA CRT params. 2014-06-20 13:17:35 -07:00