Cryptographic flow

nRF5340 Product Specification

The following section describe a typical cryptographic flow for the CRYPTOCELL subsystem.

  1. Enable CRYPTOCELL subsystem as described in Usage.
  2. Perform clock control for the desired cryptographic engine(s) as described in Power and clock.
  3. Configure the desired cryptographic mode as described in CTL interface.
  4. Depending on the selected cryptographic mode the active engine(s) must be configured, including which cryptographic key to use as described in Cryptographic key selection.
  5. Optionally configure DMA engines as described in Direct memory access (DMA).
  6. Initiate the operation, and wait for an event as described in Interrupt handling.
  7. Check status register(s) for the active engine(s).