Skip to content

Commit 7a37ca9

Browse files
committed
nrf_security: stop forcing CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG to y
This reverts what 60ab340 did. With the appropriate adaptations the Kconfig option should now always be the chosen option by default when using nrf_security. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent c96c622 commit 7a37ca9

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

subsys/nrf_security/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ else()
8888
nrf_security_debug("Building for pure Zephyr")
8989
endif()
9090

91-
set(CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG True)
92-
9391
# Add library for crypto configs (NS/S-only build)
9492
# The name and intent of this comes from TF-M distribution
9593
add_library(psa_crypto_config INTERFACE)

subsys/nrf_security/tfm/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ set(CONFIG_BUILD_WITH_TFM False)
7777
# Enable the MBEDTLS_ENABLE_HEAP configuration since TF-M implements heap in crypto_init.c
7878
set(CONFIG_MBEDTLS_ENABLE_HEAP True)
7979

80-
# Ensure that RNG is not usling legacy code
81-
set(CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG True)
82-
8380
# Ensure that PSA core is built inside TF-M image
8481
set(CONFIG_MBEDTLS_PSA_CRYPTO_C True)
8582

0 commit comments

Comments
 (0)