We are using the nrf52830 SOC for our application. In data sheet mentioned that it supports AES-128 bit Hardware engines (ECB,CCM, AAR). How to enable and use these engines without using the soft libraries like "mbed TLS " and "Optiga".
1. suppose we are using the "mbed TLS " soft library for crypto functionality, how this will in turn uses the AES-128 HW engine from SOC. Similar way for RNG and SHA-256 functionalities as well.
2. How enable and Disable the EasyDMA Driver to AES Engines.
3. For Soft crypto Libraries how to map these HW engines like AES HW, SHA-256 ,RNG and EasyDMA peripherals.If we enable the any crypto mode automatically it will take HW peripherals or only uses soft lib code only.
Eg: HW AES-128 Reg details
Base address Peripheral Instance Description Configuration0x4000E000 ECB ECB AES electronic code book (ECB) mode
Srinivas V said: In data sheet mentioned that it supports AES-128 bit Hardware engines (ECB,CCM, AAR)
The AES-128 support on the NRF52832 is the bare minimum required for BTLE operation. Not really usable for other purposes, with AES-128-CBC as an exception (but you still need to do the XORing in software).
Note that CCM and AAR are blocked when using softdevice, ECB and RNG are restricted.
Thanks for your reply.
1. In reply, mentioned that AES-128 required for BTLE operation.By default BTLE is secure communication, or we need to enable this by manually.
2. But we are using the SoftDevice, along with these RNG and other Soft crypto engines(AES-ECB,ECB),Oberon.Is there any timing impact on these operations.
3. "ECB and RNG are restricted", but how to avoid timing issues when we are using the RNG and SD operations at a time.
4. Is there any alternate way to avoid these blocking conditions like EasyDMA or any other techniques we need to implement on top of these Soft Libraries.