I am using the nrf52832 dk,
i want to decrypt the data i receive over ble (AES encrypted data will be sent over ble) which api's or sample codes should I use?
Please take a look at nRF5 SDK v15.3.0: AES Example.
- Amanda H.
I am trying to integrate the aes codes with the nus example.
In the aes code multiple nrf_crypto_backend files are present. Do i have to copy all of these to the BLE code.
Also why are these backends required for the cryptography codes?
I haven't tried the AES example myself yet, but to merge the two examples you just need to make sure you have addall you need from the AES code, source files, paths and SDK configs into the NUS example.
It should be quite straight forward but it can be a little time consuming at the same time.
We have support for different crypto engines: for nRF52840 we have CC310 cryptocell and for SW crypto we support micro-ecc, mbedtls and nrf_oberon.
But you only need to copy one backend to your NUS project. If you are not using cryptocell I recommend using nrf_oberon. All the backends are included in the AES example so it is easy for you to switch and test between all of them.
All is describe more in detail here.