]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix build of SHA3 on ARM64 with no-asm
authorTomas Mraz <tomas@openssl.org>
Wed, 13 Sep 2023 06:29:17 +0000 (08:29 +0200)
committerPauli <pauli@openssl.org>
Thu, 14 Sep 2023 22:29:40 +0000 (08:29 +1000)
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)

providers/implementations/digests/sha3_prov.c

index 0c643f82382842bd1e30a622351d6af1eff05890..423bed7983e05d671018463e715951d86dd92db5 100644 (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;