aboutsummaryrefslogtreecommitdiff
path: root/crypto/modes
diff options
context:
space:
mode:
authorXiaokangQian <xiaokang.qian@arm.com>2022-03-02 03:27:43 +0000
committerTomas Mraz <tomas@openssl.org>2022-11-11 10:04:10 +0100
commit1dd1e2df3d8b8299cb8bd7c86108adf97d9626f7 (patch)
treec1ef8fae79fd2133ef205651de41776f573053b2 /crypto/modes
parent0f3de2f0b92b8d963bbf37b8216268324f981bb9 (diff)
downloadopenssl-1dd1e2df3d8b8299cb8bd7c86108adf97d9626f7.zip
openssl-1dd1e2df3d8b8299cb8bd7c86108adf97d9626f7.tar.gz
openssl-1dd1e2df3d8b8299cb8bd7c86108adf97d9626f7.tar.bz2
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 <kurt@roeckx.be> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17795) (cherry picked from commit 2507903eb7c4e3ca4bc1a00074c16b409abc028e)
Diffstat (limited to 'crypto/modes')
-rw-r--r--crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl2
1 files changed, 1 insertions, 1 deletions
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";