From 71b9d8ad661c00130b54cec7e918b99609c35777 Mon Sep 17 00:00:00 2001 From: Hui Bai Date: Thu, 24 Oct 2024 10:33:14 +0200 Subject: [PATCH] hostap: More fixes to crypto=none compilation The aes_unwrap() and aes_decrypt() functions were missing if CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE is enabled. Add missing C files to fix this. Signed-off-by: Hui Bai --- modules/hostap/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hostap/CMakeLists.txt b/modules/hostap/CMakeLists.txt index a3bfdc84e14d2c..79fec27841d581 100644 --- a/modules/hostap/CMakeLists.txt +++ b/modules/hostap/CMakeLists.txt @@ -251,8 +251,10 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE # FIXME: why do we need these when crypto is not selected? ${HOSTAP_SRC_BASE}/crypto/aes-wrap.c + ${HOSTAP_SRC_BASE}/crypto/aes-unwrap.c ${HOSTAP_SRC_BASE}/crypto/aes-internal.c ${HOSTAP_SRC_BASE}/crypto/aes-internal-enc.c + ${HOSTAP_SRC_BASE}/crypto/aes-internal-dec.c ${HOSTAP_SRC_BASE}/crypto/aes-omac1.c ${HOSTAP_SRC_BASE}/crypto/md5.c ${HOSTAP_SRC_BASE}/crypto/md5-internal.c