diff --git a/modules/hostap/CMakeLists.txt b/modules/hostap/CMakeLists.txt index 1a97360b48e..7ad0d22bb6a 100644 --- a/modules/hostap/CMakeLists.txt +++ b/modules/hostap/CMakeLists.txt @@ -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() diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index f6c75f1a46c..300a61e5cd6 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -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