-
CONFIG_MBEDTLS_AES_ROM_TABLES
¶
Use precomputed AES tables stored in ROM.
Use AES ROM tables
Use precomputed AES tables stored in ROM.
Type: bool
Help¶
AES lookup tables will be placed in ROM instead of RAM
Placing the AES lookup tables in ROM will perform slower but will reduce RAM usage.
Using precompiled ROM tables reduces RAM size by ~8kB with an additional
cost of ~8kB of ROM size.
If MBEDTLS_AES_FEWER_TABLES is used the RAM reduction is ~2kB with an
additional cost of ~2kB of ROM size.
MBEDTLS_AES_ROM_TABLES setting in mbed TLS config file.
Direct dependencies¶
(MBEDTLS_CIPHER_AES_ENABLED
&& MBEDTLS_BUILTIN
&& MBEDTLS_CFG_FILE
= “config-tls-generic.h” && MBEDTLS
) || (VANILLA_MBEDTLS_AES_C
&& NRF_SECURITY_ADVANCED
&& NRF_SECURITY_ANY_BACKEND
&& NORDIC_SECURITY_BACKEND
) || (MBEDTLS_CIPHER_AES_ENABLED
&& MBEDTLS_BUILTIN
&& MBEDTLS_CFG_FILE
= “config-tls-generic.h” && MBEDTLS
&& 0)
(Includes any dependencies from ifs and menus.)
Defaults¶
y
y
Kconfig definitions¶
At <Zephyr>/modules/mbedtls/Kconfig.tls-generic:193
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:23
→ <Zephyr>/modules/Kconfig:6
→ <BuildDir>/kconfig/Kconfig.modules:50
→ <Zephyr>/modules/mbedtls/Kconfig:62
Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/crypto/mbedtls) → mbed TLS Support → TLS configuration → Ciphersuite configuration → Enable the AES block cipher
config MBEDTLS_AES_ROM_TABLES
bool "Use precomputed AES tables stored in ROM."
default y
depends on MBEDTLS_CIPHER_AES_ENABLED && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS
At <nrfxlib>/nrf_security/Kconfig:1467
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 → Advanced mbed TLS Configuration Settings
config MBEDTLS_AES_ROM_TABLES
bool "Use AES ROM tables"
depends on VANILLA_MBEDTLS_AES_C && NRF_SECURITY_ADVANCED && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND
help
AES lookup tables will be placed in ROM instead of RAM
Placing the AES lookup tables in ROM will perform slower but will reduce RAM usage.
Using precompiled ROM tables reduces RAM size by ~8kB with an additional
cost of ~8kB of ROM size.
If MBEDTLS_AES_FEWER_TABLES is used the RAM reduction is ~2kB with an
additional cost of ~2kB of ROM size.
MBEDTLS_AES_ROM_TABLES setting in mbed TLS config file.
At <Zephyr>/modules/mbedtls/Kconfig.tls-generic:193
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:23
→ <Zephyr>/modules/Kconfig:66
→ <Zephyr>/modules/mbedtls/Kconfig:62
Menu path: (Top) → Modules → mbed TLS Support → TLS configuration → Ciphersuite configuration → Enable the AES block cipher
config MBEDTLS_AES_ROM_TABLES
bool "Use precomputed AES tables stored in ROM."
default y
depends on MBEDTLS_CIPHER_AES_ENABLED && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)