]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add $AESDEF in libdefault.a to fix aes regression
authorXiaofei Bai <xiaofei.bai@arm.com>
Tue, 11 May 2021 05:42:51 +0000 (05:42 +0000)
committerPauli <pauli@openssl.org>
Thu, 13 May 2021 01:44:43 +0000 (11:44 +1000)
We recently noticed AES algorithms(like aes-xxx-ctr, aes-xxx-gcm,.etc)
have significant performance regression on x86_64 platform, and it is
because of the missing AES_ASM macro. This PR is to fix it by applying
$AESDEF to libdefault.a.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15225)

crypto/aes/build.info

index cc523c8f4f10096892c738b3b684c498daca3518..66bff1ae73a4fd1e2cc5a30491efc780283a4842 100644 (file)
@@ -70,6 +70,7 @@ SOURCE[../../providers/libfips.a]=$COMMON
 # need to be applied to all affected libraries and modules.
 DEFINE[../../libcrypto]=$AESDEF
 DEFINE[../../providers/libfips.a]=$AESDEF
+DEFINE[../../providers/libdefault.a]=$AESDEF
 
 GENERATE[aes-ia64.s]=asm/aes-ia64.S