CONFIG_MBEDTLS_HEAP_SIZE
Heap size for mbed TLS
Heap size for mbed TLS
Heap size for mbed TLS
Heap size for mbed TLS
Type: int
Help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
Help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
Help
Heap size for mbed TLS in bytes.
For streaming communication with arbitrary (HTTPS) servers on the
Internet, 32KB + overheads (up to another 20KB) may be needed.
Ensure to adjust the heap size according to the need of the
application.
Help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
Defaults
10240
4096
8320 if
BUILD_WITH_TFM
10240 if
OPENTHREAD_COMMISSIONER
||OPENTHREAD_JOINER
512
10240 if
OPENTHREAD_COMMISSIONER
||OPENTHREAD_JOINER
512
15360 if
OPENTHREAD_NRF_SECURITY
512
10240 if
OPENTHREAD_COMMISSIONER
||OPENTHREAD_JOINER
512
Kconfig definitions
At <nRF>/subsys/net/openthread/Kconfig.defconfig:113
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:7
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf)
config MBEDTLS_HEAP_SIZE
int
default 10240
depends on NET_L2_OPENTHREAD
At <nRF>/subsys/dfu/fmfu_fdev/Kconfig:21
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:92
→ <nRF>/subsys/Kconfig:12
→ <nRF>/subsys/dfu/Kconfig:11
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → DFU → Full Modem Firmware Upgrade from flash device
config MBEDTLS_HEAP_SIZE
int
default 4096
depends on FMFU_FDEV
At <nRF>/modules/mbedtls/Kconfig:8
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:93
→ <nRF>/modules/Kconfig:8
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect
config MBEDTLS_HEAP_SIZE
int
default 8320 if BUILD_WITH_TFM
At <Zephyr>/modules/mbedtls/Kconfig:143
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:14
Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/mbedtls) → mbed TLS Support → Enable global heap for mbed TLS
config MBEDTLS_HEAP_SIZE
int "Heap size for mbed TLS"
default 10240 if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
default 512
depends on MBEDTLS_ENABLE_HEAP && MBEDTLS
help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
At <Zephyr>/modules/mbedtls/Kconfig:143
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:68
Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/crypto/mbedtls) → mbed TLS Support → Enable global heap for mbed TLS
config MBEDTLS_HEAP_SIZE
int "Heap size for mbed TLS"
default 10240 if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
default 512
depends on MBEDTLS_ENABLE_HEAP && MBEDTLS
help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
At <nrfxlib>/nrf_security/Kconfig:85
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:92
→ <nrfxlib>/Kconfig.nrfxlib:13
Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nrf_security module → Enable global heap for mbed TLS
config MBEDTLS_HEAP_SIZE
int "Heap size for mbed TLS"
default 15360 if OPENTHREAD_NRF_SECURITY
default 512
depends on MBEDTLS_ENABLE_HEAP && NRF_SECURITY
help
Heap size for mbed TLS in bytes.
For streaming communication with arbitrary (HTTPS) servers on the
Internet, 32KB + overheads (up to another 20KB) may be needed.
Ensure to adjust the heap size according to the need of the
application.
At <Zephyr>/modules/mbedtls/Kconfig:143
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:80
Menu path: (Top) → Modules → mbed TLS Support → Enable global heap for mbed TLS
config MBEDTLS_HEAP_SIZE
int "Heap size for mbed TLS"
default 10240 if OPENTHREAD_COMMISSIONER || OPENTHREAD_JOINER
default 512
depends on MBEDTLS_ENABLE_HEAP && MBEDTLS && 0
help
The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default.
Default value for the heap size is not set as it depends on the
application. For streaming communication with arbitrary (HTTPS)
servers on the Internet, 32KB + overheads (up to another 20KB) may
be needed. For some dedicated and specific usage of mbedtls API, the
1000 bytes might be ok.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)