boringssl/crypto/fipsmodule/ec
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 Revert ADX due to build issues. 2017-08-15 18:56:09 +00:00
ec_key.c Simplify EC_KEY_set_public_key_affine_coordinates. 2018-01-08 19:50:42 +00:00
ec_montgomery.c Add a function which folds BN_MONT_CTX_{new,set} together. 2018-02-02 20:23:25 +00:00
ec_test.cc Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
ec.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
internal.h Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
oct.c Tidy up |ec_GFp_simple_point2oct| and friend. 2018-02-05 04:40:59 +00:00
p224-64.c Align various point_get_affine_coordinates implementations. 2018-01-08 20:03:42 +00:00
p256-x86_64_test.cc Add a function which folds BN_MONT_CTX_{new,set} together. 2018-02-02 20:23:25 +00:00
p256-x86_64_tests.txt
p256-x86_64-table.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
p256-x86_64.c Add bn_copy_words. 2018-02-02 18:24:39 +00:00
p256-x86_64.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
simple.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00
util.c ec/p256.c: fiat-crypto field arithmetic (64, 32) 2017-12-11 17:55:46 +00:00
wnaf.c Rename bn->top to bn->width. 2018-02-05 23:44:24 +00:00