AES encryption with hardware acceleration concurrently

I would like to run AES encryption for Bluetooth packets and other data concurrently. Does AES encryption with hardware acceleration has limited to run concurrently?

Parents Reply
  • Hi,

    It is intended that AES CCM is used separately from AES CBC, CTR or GCM. Crypto features are independent hardware components which do not affect each other. Cryptography samples which can be found in nrf\samples\crypto use Protected Storage API. These APIs do not use AES CCM peripheral. Crypto Cell hardware peripheral used by AES CBC, CTR and GCM samples has single user restriction for symmetric operations with one ongoing operation. 

    From device perspective, AES GCM is not supported on nRF52840 and nRF9160, but it is supported on nRF5340. In addition, nRF52840 and nRF9160 support key lengths of 128 bits while nRF5340 can have keys of 256 bits. Finally, there is an optimized software implementation of AES (nrf_oberon crypto library) for devices without Crypto Cell support.

    Best regards,
    Dejan

Children
Related