boringssl/crypto/fipsmodule/ec
David Benjamin 0c9b7b5de2 Align various point_get_affine_coordinates implementations.
The P-224 implementation was missing the optimization to avoid doing
extra work when asking for only one coordinate (ECDH and ECDSA both
involve an x-coordinate query). The P-256 implementation was missing the
optimization to do one less Montgomery reduction.

TODO - Benchmarks

Change-Id: I268d9c24737c6da9efaf1c73395b73dd97355de7
Reviewed-on: https://boringssl-review.googlesource.com/24690
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-01-08 20:03:42 +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 ec/p256.c: fiat-crypto field arithmetic (64, 32) 2017-12-11 17:55:46 +00:00
ec_test.cc Simplify EC_KEY_set_public_key_affine_coordinates. 2018-01-08 19:50:42 +00:00
ec.c Fold away ec_point_set_Jprojective_coordinates_GFp. 2018-01-08 19:48:37 +00:00
internal.h Fold away ec_point_set_Jprojective_coordinates_GFp. 2018-01-08 19:48:37 +00:00
oct.c Make EC_POINT_set_compressed_coordinates_GFp use BIGNUM directly. 2018-01-08 19:40:21 +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 Align the tables in P-256 select w[57] tests. 2017-08-09 01:04:57 +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 ec/p256.c: fiat-crypto field arithmetic (64, 32) 2017-12-11 17:55:46 +00:00
p256-x86_64.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
simple.c Fold away ec_point_set_Jprojective_coordinates_GFp. 2018-01-08 19:48:37 +00:00
util.c ec/p256.c: fiat-crypto field arithmetic (64, 32) 2017-12-11 17:55:46 +00:00
wnaf.c Make ECDSA signing 10% faster and plug some timing leaks. 2017-11-22 22:51:40 +00:00