Hi,
Which library available on the nRF9160 can I best use to encrypt data with AES ECB, 256 bit key?
Thank you
Hi,
Which library available on the nRF9160 can I best use to encrypt data with AES ECB, 256 bit key?
Thank you
Hi!
You can use the nRFx Oberon library, documented here.
Best regards,
Carl Richard
Hi Carl,
Thank you for your quick response!
On that page, I see that the newer Oberon library versions should include mbed TLS that supports all AES ciphers (Oberon itself does not support ECB if I read that page correctly).
However, the API page does not include the ECB cipher.
I'm a little lost on what to include in my KConfig file, and which API I should use.
Hi again!
After doing some more digging in the documentation I may have found a better approach to this (as Oberon is in fact a backend library). First of all you should use the Nordic security module documentation as reference with that being the top level module for crypto operations in NCS. What's needed for AES ECB 256 bit keys is also described here.
For usage examples you can look at the crypto tests, which implements and verifies the functionality of the nRF Connect SDK security. AES ECB tests are located in test_cases/test_aes_ecb.c
Hope this clear things up!
Best regards,
Carl Richard
Hi again Carl,
Thanks a lot for the extra information, I'm sure I can take it from here!
I really appreciate the level of support provided by Nordic, definitely would recommend your products.
Glad I could help! Just notify me if you need help with anything else.
And thank you for the positive feedback. We appreciate that a lot!
Best regards,
Carl Richard
Glad I could help! Just notify me if you need help with anything else.
And thank you for the positive feedback. We appreciate that a lot!
Best regards,
Carl Richard