Skip to content

Commit

Permalink
kconfig.nrf: NRF_SECUIRTY_ENABLER to enable MBEDTLS_ENABLE_HEAP
Browse files Browse the repository at this point in the history
MBEDTLS_ENABLE_HEAP is required by nrf PSA in more situations
than upstream, so enable this here.

Also PSA_WANT_GENERATE_RANDOM is required whenever BT_ECC is
set, so add this.

Signed-off-by: Sean Madigan <[email protected]>
  • Loading branch information
sean-madigan committed Jan 31, 2025
1 parent 55fe3cd commit 87f192d
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 87f192d

Please sign in to comment.