CONFIG_MBEDTLS_ENABLE_HEAP

Enable global heap for mbed TLS

Enable global heap for mbed TLS

Enable global heap for mbed TLS

Type: bool

Help

This option enables the mbedtls to use the heap. This setting must
be global so that various applications and libraries in Zephyr do not
try to do this themselves as there can be only one heap defined
in mbedtls. If this is enabled, then the Zephyr will, during the device
startup, initialize the heap automatically.

Help

This option enables the mbedtls to use the heap. This setting must
be global so that various applications and libraries in Zephyr do not
try to do this themselves as there can be only one heap defined
in mbedtls. If this is enabled, then the Zephyr will, during the device
startup, initialize the heap automatically.

Help

This option enables the mbedtls to use the heap. This setting must
be global so that various applications and libraries in Zephyr do not
try to do this themselves as there can be only one heap defined
in mbedtls. If this is enabled, then the Zephyr will, during the device
startup, initialize the heap automatically.

Direct dependencies

TFM_MINIMAL || MBEDTLS || NORDIC_SECURITY_BACKEND || (MBEDTLS && 0)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <nRF>/modules/trusted-firmware-m/Kconfig.mbedtls_minimal.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:14<nRF>/modules/trusted-firmware-m/Kconfig:39

Menu path: (Top) → Modules → trusted-firmware-m (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/tee/tfm)

config MBEDTLS_ENABLE_HEAP
    bool
    default n
    depends on TFM_MINIMAL

At <Zephyr>/modules/mbedtls/Kconfig:129

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:50

Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/crypto/mbedtls) → mbed TLS Support

config MBEDTLS_ENABLE_HEAP
    bool "Enable global heap for mbed TLS"
    depends on MBEDTLS
    help
      This option enables the mbedtls to use the heap. This setting must
      be global so that various applications and libraries in Zephyr do not
      try to do this themselves as there can be only one heap defined
      in mbedtls. If this is enabled, then the Zephyr will, during the device
      startup, initialize the heap automatically.

At <nrfxlib>/nrf_security/Kconfig:96

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:62<nrfxlib>/Kconfig.nrfxlib:13

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend → mbed TLS memory configuration

config MBEDTLS_ENABLE_HEAP
    bool "Enable global heap for mbed TLS"
    default y if BUILD_WITH_TFM
    depends on NORDIC_SECURITY_BACKEND
    help
      This option enables the mbedtls to use the heap. This setting must
      be global so that various applications and libraries in Zephyr do not
      try to do this themselves as there can be only one heap defined
      in mbedtls. If this is enabled, then the Zephyr will, during the device
      startup, initialize the heap automatically.

At <Zephyr>/modules/mbedtls/Kconfig:129

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:66

Menu path: (Top) → Modules → mbed TLS Support

config MBEDTLS_ENABLE_HEAP
    bool "Enable global heap for mbed TLS"
    depends on MBEDTLS && 0
    help
      This option enables the mbedtls to use the heap. This setting must
      be global so that various applications and libraries in Zephyr do not
      try to do this themselves as there can be only one heap defined
      in mbedtls. If this is enabled, then the Zephyr will, during the device
      startup, initialize the heap automatically.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)