CONFIG_MBEDTLS_ENABLE_HEAP

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.

Direct dependencies

MBEDTLS

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At ext/lib/crypto/mbedtls/Kconfig:116

Included via Kconfig:10Kconfig.zephyr:41ext/Kconfig:13ext/lib/crypto/Kconfig:10

Menu path: (top menu) → External Sources → Cryptography → mbedTLS Support

config MBEDTLS_ENABLE_HEAP
    bool
    prompt "Enable global heap for mbed TLS" if MBEDTLS
    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.

(Definitions include propagated dependencies, including from if’s and menus.)