I would like to implement AES encrypt/decrypt with hardware acceleration. Does Zephyr AES encrypt/decrypt APIs (https://docs.zephyrproject.org/apidoc/latest/group__bt__crypto.html) use hardware acceleration?
I would like to implement AES encrypt/decrypt with hardware acceleration. Does Zephyr AES encrypt/decrypt APIs (https://docs.zephyrproject.org/apidoc/latest/group__bt__crypto.html) use hardware acceleration?
Hi,
Which version of the nRF Connect SDK do you use?
Do you plan to use AES for Bluetooth Low Energy?
Regards,
Sigurd Hellesvik
Thanks for your reply! I use ncs v2.3.0. I plan to. use aes for BLE especially for Nordic UART service (NUS).
Yes, our nRF chips have the AES CCM mode encryption peripheral for this, which is specialized for Bluetooth Low Energy encryption.
This is used by default for Bluetooth LE encryption.
Regards,
Sigurd Hellesvik
Could you also provide sample code?
Bluetooth Low Energy adds encryption after you have paired two devices.
And our examples will use HW by default for Bluetooth LE encryption.
So if you for example bond with our Peripheral LBS sample, it will use HW for encryption.
Regards,
Sigurd Hellesvik
Bluetooth Low Energy adds encryption after you have paired two devices.
And our examples will use HW by default for Bluetooth LE encryption.
So if you for example bond with our Peripheral LBS sample, it will use HW for encryption.
Regards,
Sigurd Hellesvik
Thanks for your great support!