Fix build issue with aes-gcm-armv8-unroll8_64.S on older aarch64 assemblers
authorXiaokangQian <xiaokang.qian@arm.com>
Wed, 2 Mar 2022 03:27:43 +0000 (03:27 +0000)
committerTomas Mraz <tomas@openssl.org>
Fri, 4 Mar 2022 10:11:51 +0000 (11:11 +0100)
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 <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17795)

crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl

index 8e492a8ee673546a4eac82ca3792b1a41b257bb1..03eba9ea880beab1f3389e15c6c3c66c0a98405d 100644 (file)
@@ -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";