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

NRF51822 AES HW module clarification

hi,

I was reading documentation and forum but failed to get a clear picture how AES module work. So far my understanding is:

There are two ways to access AES either in Softdevice using sd_ecb_block_encrypt or using directly from code nrf_ecb_crypt

However, no decryption is provided at all, which meant that if I want to have application layer security I have to implement software AES? This, however, raises a question, there has to be decryption functionality since BLE LL is encrypted... Why is it not provided by drivers?

The other, not clear, specifications: the sd_ecb_block_encrypt may be delayed if BLE is transmitting. Is this the case for nrf_ecb_crypt too? What does "delayed" mean? Will the function return later or it will return false and a user has to retry him self?

cheers!

Related