boringssl/crypto/ec
Brian Smith 8542daa22d Require compressed x EC coordinate to be a field element.
Don't try to fix a bad |x| coordinate by reducing it. Instead, just
fail. This also makes the code clearer; in particular, it was confusing
why |x_| was used for some calculations when it seems like |x| was just
as good or better.

Change-Id: I9a6911f0d2bd72852a26b46f3828eb5ba3ef924f
Reviewed-on: https://boringssl-review.googlesource.com/7440
Reviewed-by: David Benjamin <davidben@google.com>
2016-03-11 19:13:20 +00:00
..
asm ec/asm/p256-x86_64-asm.pl: get corner case logic right. 2016-03-01 18:06:46 +00:00
CMakeLists.txt Add Intel's P-256 2015-11-03 22:08:47 +00:00
ec_asn1.c Fix a few more missing CBB_cleanups. 2016-03-08 21:08:48 +00:00
ec_key.c Adding missing BN_CTX_start/BN_CTX_end in ec_key 2016-03-01 18:04:46 +00:00
ec_montgomery.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
ec_test.cc Add test that A+A = 2×A on elliptic curves. 2016-03-01 18:08:51 +00:00
ec.c Tweaks for node.js 2016-01-26 23:23:42 +00:00
example_mul.c
internal.h Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
oct.c Require compressed x EC coordinate to be a field element. 2016-03-11 19:13:20 +00:00
p224-64.c Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
p256-64.c Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c Avoid potential uninitialized memory read in crypto/ec/p256-x86_64.c. 2016-03-09 19:04:36 +00:00
simple.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
util-64.c Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
wnaf.c Remove |EC_POINTs_mul| & simplify p256-x86_64. 2015-11-19 01:08:46 +00:00