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

nRF52 data Encryption

Hello Nordic team

I am working on nRF52832 dev board and I have a requirements to encrypt and decrypt data using AES-128 ECB. Could you please provide the example code or documentation how to encrypt and decrypt the data?

Any help will be appreciated.

Thanks

Raj

Parents Reply
  • Hi Raj,

    There is no conflict between BLE and nrf_crypto. You can simply put your crypto code into the beacon and scanner example, and it should work. There is one tedious task that needs to be done, though, and that is to add all dependencies for nrf_crypto (include paths and .c files) and add needed sdk_config configuration macros. The easiest way to get this could be to use example projects that use pairing, as the peer manager has dependencies of nrf_crypto.

    Einar

Children
Related