Skip to content

Commit 6e7d507

Browse files
committed
mbedtls: Configure NRF_IRONSIDE as a PSA crypto provider
The NRF_IRONSIDE provides PSA crypto APIs the same way that the TF-M does. Take that into account in the MBEDTLS configuration configuration. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 37ef46d commit 6e7d507

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/mbedtls/Kconfig.mbedtls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ config MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG
586586
config MBEDTLS_PSA_CRYPTO_C
587587
bool "Platform Security Architecture cryptography API"
588588
depends on !BUILD_WITH_TFM
589+
depends on !NRF_IRONSIDE
589590

590591
config MBEDTLS_USE_PSA_CRYPTO
591592
bool "Use PSA APIs instead of legacy MbedTLS when possible"
@@ -597,7 +598,7 @@ config MBEDTLS_USE_PSA_CRYPTO
597598
config MBEDTLS_PSA_CRYPTO_CLIENT
598599
bool
599600
default y
600-
depends on BUILD_WITH_TFM || MBEDTLS_PSA_CRYPTO_C
601+
depends on BUILD_WITH_TFM || MBEDTLS_PSA_CRYPTO_C || NRF_IRONSIDE
601602
select PSA_CRYPTO_CLIENT
602603

603604
config MBEDTLS_LMS

0 commit comments

Comments
 (0)