CONFIG_MBEDTLS_CMAC_C

AES-CMAC - AES Cipher-based Message Authentication Code mode for block ciphers

Type: bool

Help

Enable the CMAC module. MBEDTLS_CMAC_C 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:336

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_CMAC_C
    bool "AES-CMAC - AES Cipher-based Message Authentication Code mode for block ciphers"
    default y
    select MBEDTLS_AES_256_CMAC_C if MBEDTLS_VANILLA_BACKEND && !NRF_CRYPTO_BACKEND_COMBINATION_0
    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 CMAC module.
      MBEDTLS_CMAC_C setting in mbed TLS config file.

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