Hello,
I would like to use the AES module in the CC2541 in our project to encrypt some arbitrary data, separate from any BLE connection. I've been searching around for documentation on the software interface to this, or any examples, but I haven't found anything definitive.
Could someone please direct me to the docs if they exist?
I'm specifically looking at the hal_aes.h/c module, and I've also found reference in these forums to the LL_Encrypt/LL_EXT_Decrypt functions from the Link Layer module. I've read the docs in the header file for hal_aes.h, but it doesn't make it very clear to me how the module is supposed to be used. It's unclear which functions are meant to be private or public (e.g. do I call AesStartBlock directly or am I supposed to use the sspAesEncryptHW function? What does SSP stand for?
The link layer encryption methods look much simpler, but I'm skeptical because it's in the link layer module and the data I'm encrypting has nothing to do with a BLE link. It's data received via SPI that I want to encrypt/decrypt and send back out over SPI.
Thanks!
Chris