Skip to content

Commit 87f192d

Browse files
committed
kconfig.nrf: NRF_SECUIRTY_ENABLER to enable MBEDTLS_ENABLE_HEAP
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]>
1 parent 55fe3cd commit 87f192d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Kconfig.nrf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ config NRF_SECURITY_ENABLER
117117
def_bool y
118118
imply NRF_SECURITY if BT_CRYPTO || BT_HOST_CRYPTO || BT_MESH_USES_MBEDTLS_PSA || BT_FAST_PAIR_CRYPTO_PSA
119119
imply ENTROPY_GENERATOR if BOARD_NATIVE_SIM
120-
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG
120+
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG || BT_ECC
121+
imply MBEDTLS_ENABLE_HEAP if BT_HOST_CRYPTO_PRNG || BT_ECC
121122
depends on !SOC_NRF5340_CPUNET
122123

123124
rsource "samples/Kconfig"

0 commit comments

Comments
 (0)