ec/asm/ecp_nistz256-x86_64.pl: addition to perform stricter reduction.
authorAndy Polyakov <appro@openssl.org>
Sat, 20 Aug 2016 20:04:21 +0000 (22:04 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 26 Aug 2016 09:51:25 +0000 (11:51 +0200)
commite76cf5c06df8bfd2481996edef283ac449774048
tree01c622417d5fae6dbdedda423e3e723bd35937e6
parent1f61e8f07a21e033c8fd85ff578d6354a84f2dba
ec/asm/ecp_nistz256-x86_64.pl: addition to perform stricter reduction.

Addition was not preserving inputs' property of being fully reduced.

Thanks to Brian Smith for reporting this.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit b62b2454fadfccaf5e055a1810d72174c2633b8f)
crypto/ec/asm/ecp_nistz256-x86_64.pl
crypto/ec/ecp_nistz256.c