From 307a38fa5fafd715b02f31b2c861b47bd38ed509 Mon Sep 17 00:00:00 2001 From: Xiaofei Bai Date: Tue, 11 May 2021 05:42:51 +0000 Subject: Add $AESDEF in libdefault.a to fix aes regression 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 Reviewed-by: Richard Levitte Reviewed-by: Shane Lontis Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15225) --- crypto/aes/build.info | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/aes') diff --git a/crypto/aes/build.info b/crypto/aes/build.info index cc523c8f4f..66bff1ae73 100644 --- a/crypto/aes/build.info +++ b/crypto/aes/build.info @@ -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 -- cgit v1.2.3