1.nRF52832 supports AES HW encryption with EasyDMA function,how to configure in NCS?
2.Can AES HW encryption with EasyDMA function be used in AES-CTR?
1.nRF52832 supports AES HW encryption with EasyDMA function,how to configure in NCS?
2.Can AES HW encryption with EasyDMA function be used in AES-CTR?
Hello,
The Nordic Security Module library supports CTR, but it's a purely SW based implementation, unless you have a chip that integrates the ARM CryptoCell peripheral like the nRF52840, in that case, you can select the CryptoCell HW backend. It was the same situation in the nRF5 SDK with the nrf_crypto module.
But like all 52 variants, the nRF52832 has the AES ECB peripheral. You may be able to use it to implement the CTR mode yourself. Just note that it can only be accessed through the Softdevice controller API if you use BLE: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/api.html#c.sdc_soc_ecb_block_encrypt
Best regards,
Vidar