Skip to content

Commit

Permalink
hostap: More fixes to crypto=none compilation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nxf58150 authored and aescolar committed Oct 25, 2024
1 parent 14d08cc commit 71b9d8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71b9d8a

Please sign in to comment.