Skip to content

Commit 472e263

Browse files
committed
Revert "[nrf noup] modules: hostap: Add NCS PSA for hostap crypto ALT"
This reverts commit 01ba392. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 33cabec commit 472e263

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -644,25 +644,6 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_TEST
644644
)
645645
endif()
646646

647-
if(DEFINED CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA)
648-
zephyr_include_directories(
649-
${HOSTAP_BASE}/port/mbedtls
650-
)
651-
652-
zephyr_library_sources(
653-
${HOSTAP_SRC_BASE}/crypto/aes-wrap.c
654-
${HOSTAP_SRC_BASE}/crypto/aes-unwrap.c
655-
${HOSTAP_SRC_BASE}/crypto/aes-internal-dec.c
656-
${HOSTAP_SRC_BASE}/crypto/aes-internal.c
657-
${HOSTAP_SRC_BASE}/crypto/aes-internal-enc.c
658-
${HOSTAP_SRC_BASE}/crypto/rc4.c
659-
${HOSTAP_SRC_BASE}/crypto/crypto_mbedtls_alt.c
660-
${HOSTAP_SRC_BASE}/crypto/tls_mbedtls_alt.c
661-
${HOSTAP_SRC_BASE}/crypto/sha256-kdf.c
662-
${HOSTAP_BASE}/port/mbedtls/supp_psa_api.c
663-
)
664-
endif()
665-
666647
zephyr_library_link_libraries_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE
667648
mbedTLS)
668649

modules/hostap/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ endchoice
217217

218218
config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA
219219
bool "Crypto Platform Secure Architecture support for WiFi"
220-
default y if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA
221220
help
222221
Support Mbedtls 3.x to use PSA apis instead of legacy apis.
223222

@@ -281,7 +280,7 @@ config EAP_ALL
281280

282281
config WIFI_NM_WPA_SUPPLICANT_WPA3
283282
bool "WPA3 support"
284-
depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE && !WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA
283+
depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE
285284
default y
286285

287286
config WIFI_NM_WPA_SUPPLICANT_AP

0 commit comments

Comments
 (0)