boringssl/crypto/bn
David Benjamin 42574efaff Avoid undefined behavior in probable_prime.
(Imported from upstream's e4676e900f165f5272991443225813002300b09b.)

Change-Id: I678e158c223daf2f7f9114f4e743d531fe2e2a93
Reviewed-on: https://boringssl-review.googlesource.com/4044
Reviewed-by: Adam Langley <agl@google.com>
2015-03-19 11:36:49 +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 Avoid undefined behavior in probable_prime. 2015-03-19 11:36:49 +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