2d07d30c44
Credit to OSS-Fuzz for finding this. CVE-2017-3736 (Imported from upstream's 668a709a8d7ea374ee72ad2d43ac72ec60a80eee and 420b88cec8c6f7c67fad07bf508dcccab094f134.) This bug does not affect BoringSSL as we do not enable the ADX code. Note the test vector had to be tweaked to take things in and out of Montgomery form. (There may be something to be said for test vectors for just BN_mod_mul_montgomery, though we'd need separate 64-bit and 32-bit ones because R can be different.) Change-Id: I832070731ac1c5f893f9c1746892fc4a32f023f5 Reviewed-on: https://boringssl-review.googlesource.com/22484 Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
asm | ||
add.c | ||
bn_test_to_fuzzer.go | ||
bn_test.cc | ||
bn_tests.txt | ||
bn.c | ||
bytes.c | ||
check_bn_tests.go | ||
cmp.c | ||
ctx.c | ||
div.c | ||
exponentiation.c | ||
gcd.c | ||
generic.c | ||
internal.h | ||
jacobi.c | ||
montgomery_inv.c | ||
montgomery.c | ||
mul.c | ||
prime.c | ||
random.c | ||
rsaz_exp.c | ||
rsaz_exp.h | ||
shift.c | ||
sqrt.c |