mbedtls: default enable USE_PSA_CRYPTO when CRYPTO_C
Now that support for all PSA_WANT symbols is in place, we can enable MBEDTLS_USE_PSA_CRYPTO when MBEDTLS_PSA_CRYPTO_C is enabled as well. Note: this commit also moves USE_PSA_CRYPTO out of CRYPTO_C dependency in config-tls-generic.h because TLS/DTLS/X509 modules of MbedTLS can rely on *any* implementation of PSA crypto APIs not only the MbedTLS one. TFM is for example an alternative to this. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
c4e1b56ef9
commit
2adb4cac17
4 changed files with 5 additions and 6 deletions
|
@ -1349,7 +1349,6 @@ config BT_MESH_USES_MBEDTLS_PSA
|
|||
select MBEDTLS
|
||||
select MBEDTLS_ZEPHYR_ENTROPY
|
||||
select MBEDTLS_PSA_CRYPTO_C
|
||||
select MBEDTLS_USE_PSA_CRYPTO
|
||||
select MBEDTLS_MAC_CMAC_ENABLED
|
||||
select MBEDTLS_CIPHER_AES_ENABLED
|
||||
select MBEDTLS_AES_ROM_TABLES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue