Fix build of SHA3 on ARM64 with no-asm

Fixes #22089

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22090)
This commit is contained in:
Tomas Mraz 2023-09-13 08:29:17 +02:00 committed by Pauli
parent 8f51b2279e
commit 46b43c9f98

View File

@ -249,7 +249,7 @@ static PROV_SHA3_METHOD kmac_s390x_md =
} else { \
ctx->meth = sha3_generic_md; \
}
#elif defined(__aarch64__)
#elif defined(__aarch64__) && defined(KECCAK1600_ASM)
# include "arm_arch.h"
static sha3_absorb_fn armsha3_sha3_absorb;