CONFIG_MBEDTLS_SHA256_SMALLER¶
Enable smaller SHA-256 implementation
Type: bool
Help¶
Enable an implementation of SHA-256 that has lower ROM footprint but also
lower performance
Direct dependencies¶
MBEDTLS_MAC_SHA256_ENABLED
&& MBEDTLS_BUILTIN
&& MBEDTLS_CFG_FILE
= “config-tls-generic.h” && MBEDTLS
&& 0
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definition¶
At modules/mbedtls/Kconfig.tls-generic:264
Included via Kconfig:8
→ Kconfig.zephyr:33
→ modules/Kconfig:74
→ modules/mbedtls/Kconfig:62
Menu path: (Top) → Modules → mbed TLS Support → TLS configuration → Ciphersuite configuration → Enable the SHA-224 and SHA-256 hash algorithms
config MBEDTLS_SHA256_SMALLER
bool "Enable smaller SHA-256 implementation"
default y
depends on MBEDTLS_MAC_SHA256_ENABLED && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0
help
Enable an implementation of SHA-256 that has lower ROM footprint but also
lower performance
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)