boringssl/crypto/ec
Brian Smith 081e3f34a2 Remove |EC_POINT::Z_is_one|.
Having |Z_is_one| be out of sync with |Z| could potentially be a very
bad thing, and in the past there have been multiple bugs of this sort,
including one currently in p256-x86_64.c (type confusion: Montgomery-
encoded vs unencoded). Avoid the issue entirely by getting rid of
|Z_is_one|.

Change-Id: Icb5aa0342df41d6bc443f15f952734295d0ee4ba
Reviewed-on: https://boringssl-review.googlesource.com/6576
Reviewed-by: David Benjamin <davidben@google.com>
2016-03-09 18:58:43 +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 |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
oct.c Add EC_POINT_point2cbb. 2016-02-02 19:04:33 +00:00
p224-64.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
p256-64.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
simple.c Remove |EC_POINT::Z_is_one|. 2016-03-09 18:58:43 +00:00
util-64.c Add 64-bit, P-256 implementation. 2015-04-16 13:53:05 -07:00
wnaf.c Remove |EC_POINTs_mul| & simplify p256-x86_64. 2015-11-19 01:08:46 +00:00