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

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At modules/mbedtls/Kconfig.tls-generic:264

Included via Kconfig:8Kconfig.zephyr:33modules/Kconfig:74modules/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.)