Skip to content

Commit 71b9d8a

Browse files
nxf58150aescolar
authored andcommitted
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 <[email protected]>
1 parent 14d08cc commit 71b9d8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,10 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE
251251
252252
# FIXME: why do we need these when crypto is not selected?
253253
${HOSTAP_SRC_BASE}/crypto/aes-wrap.c
254+
${HOSTAP_SRC_BASE}/crypto/aes-unwrap.c
254255
${HOSTAP_SRC_BASE}/crypto/aes-internal.c
255256
${HOSTAP_SRC_BASE}/crypto/aes-internal-enc.c
257+
${HOSTAP_SRC_BASE}/crypto/aes-internal-dec.c
256258
${HOSTAP_SRC_BASE}/crypto/aes-omac1.c
257259
${HOSTAP_SRC_BASE}/crypto/md5.c
258260
${HOSTAP_SRC_BASE}/crypto/md5-internal.c

0 commit comments

Comments
 (0)