CONFIG_MBEDTLS_SHA256_SMALLER

Enable smaller SHA-256 implementation

Enable smaller SHA-256 implementation

Use 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

Help

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

Direct dependencies

(MBEDTLS_MAC_SHA256_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS) || (MBEDTLS_MAC_SHA256_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS) || (!(OBERON_BACKEND || CC3XX_BACKEND) && MBEDTLS_SHA256_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (MBEDTLS_MAC_SHA256_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS && 0)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

  • y

Kconfig definitions

At <Zephyr>/modules/mbedtls/Kconfig.tls-generic:299

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:14<Zephyr>/modules/mbedtls/Kconfig:67

Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/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 && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && 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 <Zephyr>/modules/mbedtls/Kconfig.tls-generic:299

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:68<Zephyr>/modules/mbedtls/Kconfig:67

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 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 && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && 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 <nrfxlib>/nrf_security/Kconfig.legacy:727

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:92<nrfxlib>/Kconfig.nrfxlib:13<nrfxlib>/nrf_security/Kconfig:111

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nrf_security module → Legacy mbed TLS crypto APIs → Enable (legacy) mbed TLS crypto APIs → SHA - Secure Hash Algorithm → SHA-256 hash functionality

config MBEDTLS_SHA256_SMALLER
    bool "Use smaller SHA-256 implementation"
    depends on !(OBERON_BACKEND || CC3XX_BACKEND) && MBEDTLS_SHA256_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY

At <Zephyr>/modules/mbedtls/Kconfig.tls-generic:299

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:80<Zephyr>/modules/mbedtls/Kconfig:67

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 && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && 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.)