[openssl/openssl] 385026: Fix reported performance degradation on aarch64
bernd-edlinger
noreply at reply.github.openssl.org
Fri Jul 8 09:07:49 UTC 2022
Branch: refs/heads/openssl-3.0
Home: https://github.openssl.org/openssl/openssl
Commit: 38502628e1d8450cf412c6ab180f46af26ecd8d9
https://github.openssl.org/openssl/openssl/commit/38502628e1d8450cf412c6ab180f46af26ecd8d9
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2022-07-08 (Fri, 08 Jul 2022)
Changed paths:
M crypto/aes/asm/aesv8-armx.pl
Log Message:
-----------
Fix reported performance degradation on aarch64
This restores the implementation prior to
commit 2621751 ("aes/asm/aesv8-armx.pl: avoid 32-bit lane assignment in CTR mode")
for 64bit targets only, since it is reportedly 2-17% slower,
and the silicon errata only affects 32bit targets.
Only for 32bit targets the new algorithm is used.
Fixes #18445
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18581)
(cherry picked from commit 65523758e546fcef0f930e5f8878ef51d174dbc8)
More information about the openssl-commits
mailing list