This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cryptocell secure ram

Hi,

I am working with NRF52840 and want to encrypt my saved data with AES using CC310 cryptocell.

I am working with nrf_crypto_aes frontend to do AES.

I want to know that does nrf_crypto_aes_key_set in this library use cryptocell's secured RAM?

Parents
  • Hi,

    The CC310 has secure RAM that can be used for some specific use cases (using a configured root key), but the normal AES API does not use secure RAM. This is often not that relevant though since the nRF52840 does not have secure flash, so the key would anyway have to be stored in a normal flash if it should be persistent.

    Specifically, the nrf_crypto_aes_key_set() function calls backend_cc310_key_set(), which calls SaSi_AesSetKey(). This writes the key information to the context object, which is in the (normal) RAM provided by the user.

  • I am not worried about the not secured flash in NRF52840 because I am using Optiga trust X to securely store my AES key.

    The only part I am worry about is the footage of the key on RAM, so I need to use Cryptocell's secured RAM.

    Can you explain more about how can I use this feature?

Reply Children
Related