Skip to content

Commit

Permalink
kconfig.nrf: Add MBEDTLS_ENABLE_HEAP if BT_HOST_CRYPTO_PRNG || BT_ECC
Browse files Browse the repository at this point in the history
This is required by PSA in NCS, so make sure it is selected
NRF_SECURITY_ENABLER.

Signed-off-by: Sean Madigan <[email protected]>
  • Loading branch information
sean-madigan committed Feb 5, 2025
1 parent 1c3c9ea commit 8bf9490
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ config NRF_SECURITY_ENABLER
def_bool y
imply NRF_SECURITY if BT_CRYPTO || BT_HOST_CRYPTO || BT_MESH_USES_MBEDTLS_PSA || BT_FAST_PAIR_CRYPTO_PSA
imply ENTROPY_GENERATOR if BOARD_NATIVE_SIM
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG || BT_ECC
imply MBEDTLS_ENABLE_HEAP if BT_HOST_CRYPTO_PRNG || BT_ECC
depends on !SOC_NRF5340_CPUNET

rsource "samples/Kconfig"
Expand Down

0 comments on commit 8bf9490

Please sign in to comment.