ec/asm/x25519-x86_64.pl: remove redundant carry chain.
authorAndy Polyakov <appro@openssl.org>
Tue, 27 Feb 2018 18:02:21 +0000 (19:02 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 1 Mar 2018 12:59:28 +0000 (13:59 +0100)
commite72bf967186a2ac26459926a20dbf03dc119eb5b
tree70339059b8ea68d14f372afca715912dd9df4cb9
parentc39e4048b538ec76313c264e860cfb5cd677a9ac
ec/asm/x25519-x86_64.pl: remove redundant carry chain.

Why is it redundant? We're looking at carry from addition of small,
11-bit number to 256-bit one. And carry would mean only one thing,
resulting first limb being small number and remaing ones - zeros.
Hence adding 38 to first limb can't carry.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5476)
crypto/ec/asm/x25519-x86_64.pl