CONFIG_MBEDTLS_CIPHER_MODE_CBC

AES-CBC - AES Cipher Block Chaining mode

Type: bool

Help

Enable the AES Cipher Block Chaining (CBC) mode, MBEDTLS_CIPHER_MODE_CBC setting in mbed TLS config file.

Direct dependencies

((MBEDTLS_AES_C && !NRF_CRYPTO_BACKEND_COMBINATION_0) || VANILLA_MBEDTLS_AES_C || CC310_MBEDTLS_AES_C) && MBEDTLS_AES_C && NORDIC_SECURITY_BACKEND

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At nrf_security/Kconfig:208

Included via /jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/nrfxlib/Kconfig.nrfxlib:14

Menu path: (Top) → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend → AES - Advanced Encryption Standard

config MBEDTLS_CIPHER_MODE_CBC
    bool "AES-CBC - AES Cipher Block Chaining mode"
    default y
    select MBEDTLS_CIPHER_AES_256_CBC_C if MBEDTLS_VANILLA_BACKEND && !NRF_CRYPTO_BACKEND_COMBINATION_0
    select MBEDTLS_CIPHER_AES_256_CBC_C if GLUE_MBEDTLS_AES_C || VANILLA_MBEDTLS_AES_C
    select GLUE_MBEDTLS_CIPHER_MODE_CBC if GLUE_MBEDTLS_AES_C
    select CC310_MBEDTLS_CIPHER_MODE_CBC if GLUE_MBEDTLS_AES_C
    select VANILLA_MBEDTLS_CIPHER_MODE_CBC if GLUE_MBEDTLS_AES_C
    depends on ((MBEDTLS_AES_C && !NRF_CRYPTO_BACKEND_COMBINATION_0) || VANILLA_MBEDTLS_AES_C || CC310_MBEDTLS_AES_C) && MBEDTLS_AES_C && NORDIC_SECURITY_BACKEND
    help
      Enable the AES Cipher Block Chaining (CBC) mode,
      MBEDTLS_CIPHER_MODE_CBC setting in mbed TLS config file.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)