From 1dd1e2df3d8b8299cb8bd7c86108adf97d9626f7 Mon Sep 17 00:00:00 2001 From: XiaokangQian Date: Wed, 2 Mar 2022 03:27:43 +0000 Subject: 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) (cherry picked from commit 2507903eb7c4e3ca4bc1a00074c16b409abc028e) --- crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/modes') diff --git a/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl b/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl index 8e492a8..03eba9e 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"; -- cgit v1.1