]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix reported performance degradation on aarch64
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 12 Jun 2022 07:37:26 +0000 (09:37 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 8 Jul 2022 09:07:12 +0000 (11:07 +0200)
commit65523758e546fcef0f930e5f8878ef51d174dbc8
tree5ec466231b0a89b50ba94154d34280b5d74701f9
parent5cc9ab5cf51137daf6d2d57718f56316dcb62744
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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18581)
crypto/aes/asm/aesv8-armx.pl