From: Tomas Mraz Date: Wed, 13 Sep 2023 06:29:17 +0000 (+0200) Subject: Fix build of SHA3 on ARM64 with no-asm X-Git-Tag: openssl-3.2.0-alpha2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b43c9f98771139735656e541c8f4c8018c2667;p=thirdparty%2Fopenssl.git Fix build of SHA3 on ARM64 with no-asm Fixes #22089 Reviewed-by: Matt Caswell Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/22090) --- diff --git a/providers/implementations/digests/sha3_prov.c b/providers/implementations/digests/sha3_prov.c index 0c643f82382..423bed7983e 100644 --- a/providers/implementations/digests/sha3_prov.c +++ b/providers/implementations/digests/sha3_prov.c @@ -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;