The latest development version of this page may be more current than this released 2.5.0 version.
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

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At modules/Kconfig.tls-generic:264

Included via Kconfig:8Kconfig.zephyr:23modules/Kconfig:21modules/Kconfig.mbedtls:44

Menu path: (Top) → Modules → mbedTLS 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
    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.)