boringssl/crypto/bn
David Benjamin 1c703cb0c1 Check for BN_copy failures.
BN_copy can fail on malloc failure. The case in crypto/rsa was causing the
malloc tests in all_tests.go to infinite loop.

Change-Id: Id5900512013fba9960444d78a8c056aa4314fb2d
Reviewed-on: https://boringssl-review.googlesource.com/5110
Reviewed-by: Adam Langley <agl@google.com>
2015-06-15 17:52:40 +00:00
..
asm Don't use x86_64-gcc.c with NO_ASM. 2015-05-15 22:23:49 +00:00
add.c
bn_test.cc Fix bn_test's bc output and shut it up a little. 2015-05-28 17:25:41 +00:00
bn.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
CMakeLists.txt Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
cmp.c
convert.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
ctx.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
div.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
exponentiation.c Check for BN_copy failures. 2015-06-15 17:52:40 +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 Require source files define __STDC_FORMAT_MACROS to use BN FMT macros. 2015-05-11 18:38:08 +00:00
kronecker.c
montgomery.c Convert BN_MONT_CTX to new-style locking. 2015-04-14 20:10:27 +00:00
mul.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00
prime.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00
random.c Fix off-by-one in BN_rand 2015-05-27 22:03:05 +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 Reject negative shifts for BN_rshift and BN_lshift. 2015-05-27 21:59:35 +00:00
sqrt.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00