ESP32 support HWcrypto, why there are another crypto in component ?

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

ESP32 support HWcrypto, why there are another crypto in component ?

Postby wziy520 » Fri Dec 16, 2016 6:29 am

Does the result after encrypt different?
Why need 2 crypto?

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32 support HWcrypto, why there are another crypto in component ?

Postby ESP_igrr » Fri Dec 16, 2016 6:47 am

I suppose you mean components/wpa_supplicant/src/crypto?
This is part of the source code of wpa_supplicant library, used inside the wifi stack. It is indeed possible to re-write parts of this library to make use of HW crypto APIs, this is currently in our backlog.

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: ESP32 support HWcrypto, why there are another crypto in component ?

Postby wziy520 » Fri Dec 16, 2016 6:59 am

sorry for not clear express,

I mean , there are 2 sha.c (hwcrypto) sha1.c sha256.c(mbedTls), it implement the same function, why need the 2 part.

there a mbedTls example using, I have the question because i want to know does HWcrypto work well or not

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: ESP32 support HWcrypto, why there are another crypto in component ?

Postby wziy520 » Fri Dec 16, 2016 7:06 am

got it, the sha belong mbedTls are library code of Mbed, thanks

Who is online

Users browsing this forum: No registered users and 120 guests