Skip to content

Commit 86bff0f

Browse files
krish2718nordicjm
authored andcommitted
[nrf noup] hostap: Fix PSA config
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]>
1 parent 4250055 commit 86bff0f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,9 @@ zephyr_library_sources(
668668
${HOSTAP_SRC_BASE}/crypto/aes-internal-enc.c
669669
${HOSTAP_SRC_BASE}/crypto/rc4.c
670670
${HOSTAP_SRC_BASE}/crypto/crypto_mbedtls_alt.c
671-
${HOSTAP_SRC_BASE}/crypto/tls_mbedtls_alt.c
672671
${HOSTAP_SRC_BASE}/crypto/sha256-kdf.c
673672
${HOSTAP_BASE}/port/mbedtls/supp_psa_api.c
673+
${HOSTAP_SRC_BASE}/crypto/tls_none.c
674674
)
675675
endif()
676676

modules/hostap/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,9 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA
257257
select MBEDTLS
258258
select NRF_SECURITY
259259
select PSA_WANT_GENERATE_RANDOM
260-
select MBEDTLS_TLS_LIBRARY
261260
select MBEDTLS_PK_C
261+
select MBEDTLS_MD_C
262262
select MBEDTLS_PK_WRITE_C
263-
select MBEDTLS_X509_LIBRARY
264-
select MBEDTLS_X509_CRT_PARSE_C
265-
select MBEDTLS_SSL_TLS_C
266263
select MBEDTLS_ENABLE_HEAP
267264
select MBEDTLS_PSA_CRYPTO_C
268265
select MBEDTLS_USE_PSA_CRYPTO

0 commit comments

Comments
 (0)