boringssl/crypto/fipsmodule/ec
David Benjamin 99084cdd76 Fold away ec_point_set_Jprojective_coordinates_GFp.
p224-64.c can just write straight into the EC_POINT, as the other files
do, which saves the mess around BN_CTX. It's also more correct.
ec_point_set_Jprojective_coordinates_GFp abstracts out field_encode, but
then we would want to abstract out field_decode too when reading.

That then allows us to inline ec_point_set_Jprojective_coordinates_GFp
into ec_GFp_simple_point_set_affine_coordinates and get rid of an
unnecessary tower of helper functions. Also we can use the precomputed
value of one rather than recompute it each time.

Change-Id: I8282dc66a4a437f5a3b6a1a59cc39be4cb71ccf9
Reviewed-on: https://boringssl-review.googlesource.com/24687
Reviewed-by: Adam Langley <agl@google.com>
2018-01-08 19:48:37 +00:00
..
asm Revert ADX due to build issues. 2017-08-15 18:56:09 +00:00
ec_key.c Tighten EC_KEY's association with its group. 2018-01-03 22:15:11 +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 Tighten EC_KEY's association with its group. 2018-01-03 22:15:11 +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 Fold away ec_point_set_Jprojective_coordinates_GFp. 2018-01-08 19:48:37 +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 Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
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