boringssl/crypto/ec
Adam Langley 060bd590ce ec/asm/p256-x86_64-asm.pl: get corner case logic right.
(Imported from upstream's 64333004a41a9f4aa587b8e5401420fb70d00687.)

RT#4284.

This case should be impossible to hit because |EC_POINT_add| doesn't use
this function and trying to add equal inputs should never occur during a
multiplication. Support for this exists because the pattern has been
copied from the first 64-bit P-224 and P-256 work that Emilia, Bodo and
I did. There it seemed like a reasonable defense-in-depth in case the
code changed in the future.

Change-Id: I7ff138669c5468b7d7a5153429bec728cb67e338
Reviewed-on: https://boringssl-review.googlesource.com/7246
Reviewed-by: David Benjamin <davidben@google.com>
2016-03-01 18:06:46 +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 Rewrite ECPrivateKey serialization. 2016-02-16 23:51:09 +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 group_clear_finish EC_GROUP hooks. 2016-01-28 00:17:43 +00:00
ec_test.cc Rewrite ECPrivateKey serialization. 2016-02-16 23:51:09 +00:00
ec.c Tweaks for node.js 2016-01-26 23:23:42 +00:00
example_mul.c
internal.h Remove flags field from EC_KEY. 2016-02-16 23:51:53 +00:00
oct.c Add EC_POINT_point2cbb. 2016-02-02 19:04:33 +00:00
p224-64.c Remove duplicative ECC |group_init| and |group_set_curve| methods. 2016-02-08 18:31:46 +00:00
p256-64.c Remove duplicative ECC |group_init| and |group_set_curve| methods. 2016-02-08 18:31:46 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c Remove group_clear_finish EC_GROUP hooks. 2016-01-28 00:17:43 +00:00
simple.c Return 0 on error in |EC_POINT_is_on_curve| instead of -1. 2016-02-24 22:00:58 +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