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

nRF51422 AES app mode with soft module S110

There are a few threads on using the AES module and there is a lot of confusing and somewhat contradictory information.

I want to do the following:

  1. generate secure random numbers via hw (e.g. using radio noise and entropy calcs)
  2. encrypt and decrypt data using ECB hardware acceleration with no counters
  3. I will be doing the CBC chaining on the side in sw.
  4. this is all in support of a diffie-hellman 1024 bit key exchange protocol we are implementing outside of the normal BLE encryption (which I am not ever going to be using)

Some posts state that only encryption can be done and not decryption, others state that you must use counter mode, while others state that the block is used by BLE and not available for use. Is there an example somewhere where data is encrypted and decrypted using ECB in hardware with a shared key? I understand how its done, just not how to get the hardware acceleration working. My previous HW solution also couldn't handle the CBC stuff in hardware since only one IV could be managed so all of my existing code is doing the block chain manually anyway.

-Jim

Parents Reply Children
No Data
Related