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

Using HW AES CCM module with zephyr OS

Hi,

I am experimenting with zephyr OS on my nrf52 DK. I want to use the HW AES CCM encryption module available on the board, but I can't figure out how to do this with zephyr. In my mind, there should be crypto functions which are performed in HW if there is a module available and otherwise realized in SW. Is this even possible with zephyr OS or does one have to use the nrf SDK? If it is possible, I would really appreciate a reference to the CONFIGs I have to make and the function API I can use. 

Kind regards,

Marco

Parents Reply Children
  • Hi, 

    thank you for your quick reply. I am not using it for Bluetooth communication, so this shouldn't be the problem. I want to build an application with zephyr, which I can easily run on multiple architectures without changing the code. I am using SW crypto libraries right now, but would of course like to use HW accelerators, if they are available. But it looks like this is not yet possible with zephyr, so I will either stick to SW crypto or write a crypto wrapper for every device I use with the architecture specific calls.

Related