What does enabling hardware AES in sdkconfig do?

jsam589
Posts: 74
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: 9016
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.

sarins
Posts: 1
Joined: Thu Oct 22, 2020 3:17 pm

Re: What does enabling hardware AES in sdkconfig do?

Postby sarins » Thu Oct 22, 2020 3:26 pm

I think you will do nothing right now, because it did not support aes hw acceleration for now, based on post viewtopic.php?f=10&p=56361

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

Re: What does enabling hardware AES in sdkconfig do?

Postby ESP_Sprite » Sun Oct 25, 2020 1:04 pm

sarins wrote:
Thu Oct 22, 2020 3:26 pm
I think you will do nothing right now, because it did not support aes hw acceleration for now, based on post viewtopic.php?f=10&p=56361
Note that that list is for the ESP32-S2.

Who is online

Users browsing this forum: Google [Bot] and 132 guests