[openssl/openssl] a8f6d7: Fix reported performance degradation on aarch64

bernd-edlinger noreply at reply.github.openssl.org
Wed Jul 6 07:12:18 UTC 2022


  Branch: refs/heads/OpenSSL_1_1_1-stable
  Home:   https://github.openssl.org/openssl/openssl
  Commit: a8f6d73fda64d514171e99a50d1483c0c0b8d968
      https://github.openssl.org/openssl/openssl/commit/a8f6d73fda64d514171e99a50d1483c0c0b8d968
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2022-07-06 (Wed, 06 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: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18539)




More information about the openssl-commits mailing list