boringssl/crypto/fipsmodule/bn
David Benjamin 09633cc34e Rename bn->top to bn->width.
This has no behavior change, but it has a semantic one. This CL is an
assertion that all BIGNUM functions tolerate non-minimal BIGNUMs now.
Specifically:

- Functions that do not touch top/width are assumed to not care.

- Functions that do touch top/width will be changed by this CL. These
  should be checked in review that they tolerate non-minimal BIGNUMs.

Subsequent CLs will start adjusting the widths that BIGNUM functions
output, to fix timing leaks.

Bug: 232
Change-Id: I3a2b41b071f2174452f8d3801bce5c78947bb8f7
Reviewed-on: https://boringssl-review.googlesource.com/25257
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2018-02-05 23:44:24 +00:00
..
asm Silence ARMv8 deprecated IT instruction warnings. 2017-12-14 01:56:22 +00:00
add.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
bn_test_to_fuzzer.go Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
bn_test.cc Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
bn_tests.txt bn/asm/rsaz-avx2.pl: fix digit correction bug in rsaz_1024_mul_avx2. 2017-12-07 16:54:32 +00:00
bn.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
bytes.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
check_bn_tests.go Move bn/ into crypto/fipsmodule/ 2017-05-01 22:51:25 +00:00
cmp.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
ctx.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
div.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
exponentiation.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
gcd.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
generic.c Enable __asm__ and uint128_t code in clang-cl. 2017-12-11 22:46:26 +00:00
internal.h Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
jacobi.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
montgomery_inv.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
montgomery.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
mul.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
prime.c Add a function which folds BN_MONT_CTX_{new,set} together. 2018-02-02 20:23:25 +00:00
random.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
rsaz_exp.c Fix alignment-violating cast. 2017-12-01 22:32:17 +00:00
rsaz_exp.h Move bn/ into crypto/fipsmodule/ 2017-05-01 22:51:25 +00:00
shift.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
sqrt.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00