Skip to content

Commit

Permalink
[nrf noup] hostap: Fix PSA config
Browse files Browse the repository at this point in the history
Wi-Fi PSA currently doesn't support Enterprise mode, so, remove
Enterprise configs, even if this is added, these are already part of
Enterprise configuration.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 86bff0f)
  • Loading branch information
krish2718 authored and rlubos committed Nov 4, 2024
1 parent 2aa8484 commit 2d92e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,9 @@ zephyr_library_sources(
${HOSTAP_SRC_BASE}/crypto/aes-internal-enc.c
${HOSTAP_SRC_BASE}/crypto/rc4.c
${HOSTAP_SRC_BASE}/crypto/crypto_mbedtls_alt.c
${HOSTAP_SRC_BASE}/crypto/tls_mbedtls_alt.c
${HOSTAP_SRC_BASE}/crypto/sha256-kdf.c
${HOSTAP_BASE}/port/mbedtls/supp_psa_api.c
${HOSTAP_SRC_BASE}/crypto/tls_none.c
)
endif()

Expand Down
5 changes: 1 addition & 4 deletions modules/hostap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,9 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA
select MBEDTLS
select NRF_SECURITY
select PSA_WANT_GENERATE_RANDOM
select MBEDTLS_TLS_LIBRARY
select MBEDTLS_PK_C
select MBEDTLS_MD_C
select MBEDTLS_PK_WRITE_C
select MBEDTLS_X509_LIBRARY
select MBEDTLS_X509_CRT_PARSE_C
select MBEDTLS_SSL_TLS_C
select MBEDTLS_ENABLE_HEAP
select MBEDTLS_PSA_CRYPTO_C
select MBEDTLS_USE_PSA_CRYPTO
Expand Down

0 comments on commit 2d92e09

Please sign in to comment.