summaryrefslogtreecommitdiff
path: root/firmware/2lib/2stub_hwcrypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/2stub_hwcrypto.c')
-rw-r--r--firmware/2lib/2stub_hwcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/2lib/2stub_hwcrypto.c b/firmware/2lib/2stub_hwcrypto.c
index 392c64fe..d5aa3429 100644
--- a/firmware/2lib/2stub_hwcrypto.c
+++ b/firmware/2lib/2stub_hwcrypto.c
@@ -7,7 +7,7 @@
#include "2api.h"
-#ifndef X86_SHA_EXT
+#if !defined(X86_SHA_EXT) && !defined(ARMV8_CRYPTO_EXT)
__attribute__((weak))
vb2_error_t vb2ex_hwcrypto_digest_init(enum vb2_hash_algorithm hash_alg,
uint32_t data_size)