bn/bn_add.c: address performance regression.
authorAndy Polyakov <appro@openssl.org>
Wed, 15 Nov 2017 11:25:02 +0000 (12:25 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 16 Nov 2017 12:57:55 +0000 (13:57 +0100)
commita78324d95bd4568ce2c3b34bfa1d6f14cddf92ef
tree86648764e99579b852aaaf2bab96da8261e33acc
parent8e4ec5b2e7c9a5d12c348b2a3430c4b51ab041c5
bn/bn_add.c: address performance regression.

Performance regression was reported for EC key generation between
1.0.2 and 1.1.x [in GH#2891]. It naturally depends on platform,
values between 6 and 9% were observed.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4743)
crypto/bn/asm/x86_64-gcc.c
crypto/bn/bn_add.c