boringssl/crypto/fipsmodule/ec
David Benjamin a6bfc45b62 Store EC_KEY's private key as an EC_SCALAR.
This isn't strictly necessary now that BIGNUMs are safe, but we get to
rely on type-system annotations from EC_SCALAR. Additionally,
EC_POINT_mul depends on BN_div, while the EC_SCALAR version does not.

Change-Id: I75e6967f3d35aef17278b94862f4e506baff5c23
Reviewed-on: https://boringssl-review.googlesource.com/26424
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-03-07 21:17:31 +00:00
..
asm Merge Intel copyright notice into standard 2018-02-12 21:44:27 +00:00
ec_key.c Store EC_KEY's private key as an EC_SCALAR. 2018-03-07 21:17:31 +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 Store EC_KEY's private key as an EC_SCALAR. 2018-03-07 21:17:31 +00:00
ec.c Don't crash when failing to set affine coordinates when the generator is missing. 2018-02-07 23:08:17 +00:00
internal.h Store EC_KEY's private key as an EC_SCALAR. 2018-03-07 21:17:31 +00:00
oct.c Make BN_mod_*_quick constant-time. 2018-02-06 01:16:04 +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 Merge Intel copyright notice into standard 2018-02-12 21:44:27 +00:00
p256-x86_64.h Merge Intel copyright notice into standard 2018-02-12 21:44:27 +00:00
simple.c Make BN_mod_*_quick constant-time. 2018-02-06 01:16:04 +00:00
util.c ec/p256.c: fiat-crypto field arithmetic (64, 32) 2017-12-11 17:55:46 +00:00
wnaf.c Remove redundant length-check in |ec_wNAF_mul|. 2018-02-21 17:03:14 +00:00