Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/mbedtls/Kconfig.mbedtls
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ config MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG
config MBEDTLS_PSA_CRYPTO_C
bool "Platform Security Architecture cryptography API"
depends on !BUILD_WITH_TFM
depends on !NRF_IRONSIDE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit message typos

The NRF_IRONSIDE provides PSA crypto APIs the same way that
the TF-M does. Take that into account in the MBEDTLS configuration
configuration.


config MBEDTLS_USE_PSA_CRYPTO
bool "Use PSA APIs instead of legacy MbedTLS when possible"
Expand All @@ -597,7 +598,7 @@ config MBEDTLS_USE_PSA_CRYPTO
config MBEDTLS_PSA_CRYPTO_CLIENT
bool
default y
depends on BUILD_WITH_TFM || MBEDTLS_PSA_CRYPTO_C
depends on BUILD_WITH_TFM || MBEDTLS_PSA_CRYPTO_C || NRF_IRONSIDE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@valeriosetti with your PR #96415 maybe we could make this Kconfig option just depend on PSA_CRYPTO_PROVIDER (or PSA_CRYPTO)?

select PSA_CRYPTO_CLIENT

config MBEDTLS_LMS
Expand Down
Loading