CONFIG_CC3XX_HW_MUTEX_LOCK

Use hardware mutex for mutually exclusive access to CC3XX resources

Type: bool

Help

A mutual exclusive peripheral is the fastest way to ensure mutually
exclusive access to the ARM CryptoCell hardware on platform which support
it. The MUTEX peripheral is nRF53 platform specific solution.

Warning: If this configuration is set, every execution requiring use of
the ARM CryptoCell hardware must happen in the same priority. Calling into
mbed TLS APIs from a higher priority while an ongoing operation will lead
to undefined behavior. It is highy recommended to to do all cryptographic
operations in one single thread if this configuration is set.

Direct dependencies

SOC_NRF5340_CPUAPP && <choice CC3XX_LOCK_VARIANT: CC3XX lock variant>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <nrfxlib>/crypto/Kconfig:80

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

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → Crypto libraries for nRF5x SOCs. → nrf_cc3xx_platform HW crypto library for nRF devices with CryptoCell CC3xx. → CC3XX lock variant

config CC3XX_HW_MUTEX_LOCK
    bool "Use hardware mutex for mutually exclusive access to CC3XX resources"
    depends on SOC_NRF5340_CPUAPP && <choice CC3XX_LOCK_VARIANT>
    help
      A mutual exclusive peripheral is the fastest way to ensure mutually
      exclusive access to the ARM CryptoCell hardware on platform which support
      it. The MUTEX peripheral is nRF53 platform specific solution.

      Warning: If this configuration is set, every execution requiring use of
      the ARM CryptoCell hardware must happen in the same priority. Calling into
      mbed TLS APIs from a higher priority while an ongoing operation will lead
      to undefined behavior. It is highy recommended to to do all cryptographic
      operations in one single thread if this configuration is set.

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