The latest development version of this page may be more current than this released 2.6.1-rc1 version.
CONFIG_MBEDTLS_SHA256_SMALLER

Enable smaller SHA-256 implementation

Enable smaller SHA-256 implementation

Type: bool

Help

Enable an implementation of SHA-256 that has lower ROM footprint but also
lower performance

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) || (MBEDTLS_MAC_SHA256_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 modules/mbedtls/Kconfig.tls-generic:264

Included via Kconfig:8Kconfig.zephyr:23modules/Kconfig:6doc/_build/Kconfig/Kconfig.modules:8modules/mbedtls/Kconfig:62

Menu path: (Top) → Modules → mbedtls (/home/nashif/zephyrproject/modules/crypto/mbedtls) → 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
    help
      Enable an implementation of SHA-256 that has lower ROM footprint but also
      lower performance

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

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