From: XiaokangQian Date: Wed, 2 Mar 2022 03:27:43 +0000 (+0000) Subject: Fix build issue with aes-gcm-armv8-unroll8_64.S on older aarch64 assemblers X-Git-Tag: openssl-3.2.0-alpha1~2888 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2507903eb7c4e3ca4bc1a00074c16b409abc028e;p=thirdparty%2Fopenssl.git Fix build issue with aes-gcm-armv8-unroll8_64.S on older aarch64 assemblers The EOR3 instruction is implemented with .inst, and the code here is enabled using run-time detection of the CPU capabilities, so no need to explicitly ask for the sha3 extension. Fixes #17773 Reviewed-by: Kurt Roeckx Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17795) --- diff --git a/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl b/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl index 8e492a8ee67..03eba9ea880 100644 --- a/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl +++ b/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl @@ -174,7 +174,7 @@ $code=<<___; #if __ARM_MAX_ARCH__>=8 ___ -$code.=".arch armv8.2-a+crypto\n.arch_extension sha3\n.text\n"; +$code.=".arch armv8.2-a+crypto\n.text\n"; $input_ptr="x0"; #argument block $bit_length="x1";