diff --git a/modules/mbedtls/Kconfig.mbedtls b/modules/mbedtls/Kconfig.mbedtls index 4a71ec4961421..13169dbf07a24 100644 --- a/modules/mbedtls/Kconfig.mbedtls +++ b/modules/mbedtls/Kconfig.mbedtls @@ -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 config MBEDTLS_USE_PSA_CRYPTO bool "Use PSA APIs instead of legacy MbedTLS when possible" @@ -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 select PSA_CRYPTO_CLIENT config MBEDTLS_LMS diff --git a/subsys/secure_storage/Kconfig b/subsys/secure_storage/Kconfig index 307cba86662d3..75158950acb8a 100644 --- a/subsys/secure_storage/Kconfig +++ b/subsys/secure_storage/Kconfig @@ -4,6 +4,7 @@ menuconfig SECURE_STORAGE bool "Secure storage subsystem" depends on !BUILD_WITH_TFM + depends on !NRF_IRONSIDE select MBEDTLS_PSA_CRYPTO_STORAGE_C if MBEDTLS_PSA_CRYPTO_C help The secure storage subsystem provides an implementation of the PSA Secure Storage API