2 years, 8 months ago.

Encryption using the ECB vs. AES libraries for nRF581822

Hello, It looks like the mbed nRF51822 library provides the driver for accessing the ECB peripheral to do encryption tasks. When I do a search, I also see a couple of libraries people have shared to do AES encryption.

1) The documentation for the nRF51822 ECB driver.

2) example Crypto library

3) Another AES library

Am I right in assuming that #2 and #3 aren't using the ECB peripheral on the nRF51822, and are strictly implementing the AES algorithm without the benefit of encryption hardware? It doesn't look like these libraries call the same functions documented in #1, but I'm not sure if mbed does some abstraction of encryption hardware somewhere else so that appropriate platform specific calls are magically made.

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers ...
Be the first to answer this question.