Skip to content

Commit

Permalink
hostap: fix build error when MBEDTLS_PSA_CRYPTO_C enabled
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MaochenWang1 authored and kartben committed Dec 26, 2024
1 parent 6c06d2d commit e40e0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hostap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e40e0d6

Please sign in to comment.