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 <maochen.wang@nxp.com>
This commit is contained in:
Maochen Wang 2024-12-24 10:30:09 +08:00 committed by Benjamin Cabé
parent 6c06d2d33e
commit e40e0d66db

View file

@ -155,7 +155,7 @@ endchoice
config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA
bool "Crypto Platform Secure Architecture support for WiFi" bool "Crypto Platform Secure Architecture support for WiFi"
select MBEDTLS_PSA_CRYPTO_C imply MBEDTLS_PSA_CRYPTO_C
select MBEDTLS_USE_PSA_CRYPTO select MBEDTLS_USE_PSA_CRYPTO
select PSA_WANT_ALG_ECDH select PSA_WANT_ALG_ECDH
select PSA_WANT_ALG_HMAC select PSA_WANT_ALG_HMAC