What does enabling hardware AES in sdkconfig do?

jsam589
Posts: 39
Joined: Sat Aug 17, 2019 9:31 pm

What does enabling hardware AES in sdkconfig do?

Postby jsam589 » Sat Dec 14, 2019 12:29 am

I have a working IoT Azure device and was looking at the sdkconfig.defaults settings.
There is a good bit of MBEDTLS action happening, for certificates and keys, but the following config parameter does not seem to make a difference to whether the software works or not.

Can anyone explain what is the difference of setting this to 'n', rather than allowing the default of 'y'?

CONFIG_MBEDTLS_HARDWARE_AES=y

Thanks!

ESP_Sprite
Posts: 3049
Joined: Thu Nov 26, 2015 4:08 am

Re: What does enabling hardware AES in sdkconfig do?

Postby ESP_Sprite » Sat Dec 14, 2019 3:30 am

It switches between doing the AES encryption in hardware and doing it in software. Both solutions work, but there may be some performance differences between the two, depending on how you use the ESP32.

Who is online

Users browsing this forum: No registered users and 22 guests