From e40e0d66dbed508392facd1fc9ae7aece0922f55 Mon Sep 17 00:00:00 2001 From: Maochen Wang Date: Tue, 24 Dec 2024 10:30:09 +0800 Subject: [PATCH] hostap: fix build error when MBEDTLS_PSA_CRYPTO_C enabled For TFM example, MBEDTLS_PSA_CRYPTO_C has some dependencies and may not be enabled, so use 'imply' instead of 'select' here for hostap MBEDTLS_PSA case. Signed-off-by: Maochen Wang --- modules/hostap/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index f4607caa2fc..4d85f5d8bbf 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -155,7 +155,7 @@ endchoice config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA bool "Crypto Platform Secure Architecture support for WiFi" - select MBEDTLS_PSA_CRYPTO_C + imply MBEDTLS_PSA_CRYPTO_C select MBEDTLS_USE_PSA_CRYPTO select PSA_WANT_ALG_ECDH select PSA_WANT_ALG_HMAC