From f3cac6c020ba474b11432eb9b29c91519962488a Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 21 Aug 2023 21:02:12 -0700 Subject: [PATCH] libcrypto: Add new assembly files added in OpenSSL 3.0. This only affects amd64 and i386, but in particular includes wrappers for AES encryption/decryption that gate all of the accelerated AES. Reviewed by: gallatin, ngie, emaste Differential Revision: https://reviews.freebsd.org/D41537 --- secure/lib/libcrypto/Makefile.asm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/secure/lib/libcrypto/Makefile.asm b/secure/lib/libcrypto/Makefile.asm index b9af383e492f..65cc0322f3ca 100644 --- a/secure/lib/libcrypto/Makefile.asm +++ b/secure/lib/libcrypto/Makefile.asm @@ -79,11 +79,12 @@ sha256-armv8.S: sha512-armv8.pl SRCS= x86_64cpuid.pl # aes -SRCS+= aesni-mb-x86_64.pl aesni-sha1-x86_64.pl aesni-sha256-x86_64.pl \ - aesni-x86_64.pl vpaes-x86_64.pl +SRCS+= aes-x86_64.pl \ + aesni-mb-x86_64.pl aesni-sha1-x86_64.pl aesni-sha256-x86_64.pl \ + aesni-x86_64.pl bsaes-x86_64.pl vpaes-x86_64.pl # bn -SRCS+= rsaz-avx2.pl rsaz-avx512.S rsaz-x86_64.pl x86_64-gf2m.pl \ +SRCS+= rsaz-avx2.pl rsaz-avx512.pl rsaz-x86_64.pl x86_64-gf2m.pl \ x86_64-mont.pl x86_64-mont5.pl # camellia @@ -221,7 +222,7 @@ aes-armv4.S: aes-armv4.pl SRCS= x86cpuid.pl # aes -SRCS+= aesni-x86.pl vpaes-x86.pl +SRCS+= aes-586.pl aesni-x86.pl vpaes-x86.pl # blowfish SRCS+= bf-586.pl