Browse Source

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>
pull/83350/head
Maochen Wang 7 months ago committed by Benjamin Cabé
parent
commit
e40e0d66db
  1. 2
      modules/hostap/Kconfig

2
modules/hostap/Kconfig

@ -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

Loading…
Cancel
Save