From e9ec7a23a32c4a6ba4ba487a95f9cd588aaea893 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Thu, 17 Oct 2024 16:10:39 +0300 Subject: [PATCH] hostap: Enterprise mode needs sha1-internal.c Without this there is an error modules/lib/hostap/src/crypto/fips_prf_internal.c:47: \ undefined reference to `SHA1Transform' Signed-off-by: Jukka Rissanen --- modules/hostap/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hostap/CMakeLists.txt b/modules/hostap/CMakeLists.txt index 69ff4c4fe1d..b6f55f694d6 100644 --- a/modules/hostap/CMakeLists.txt +++ b/modules/hostap/CMakeLists.txt @@ -609,6 +609,7 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE ${HOSTAP_SRC_BASE}/crypto/ms_funcs.c ${HOSTAP_SRC_BASE}/crypto/aes-eax.c ${HOSTAP_SRC_BASE}/crypto/md4-internal.c + ${HOSTAP_SRC_BASE}/crypto/sha1-internal.c ${HOSTAP_SRC_BASE}/crypto/fips_prf_internal.c ${HOSTAP_SRC_BASE}/crypto/milenage.c )