mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 13:00:19 +00:00
esp32: Rewrite esp_sha function
It removes using a STALL_OTHER_CPU while sha operations. It improves performance with SHA.
This commit is contained in:

committed by
Angus Gratton

parent
014de712ab
commit
bbdeff1da1
@@ -44,6 +44,9 @@ enum SHA_TYPE {
|
||||
SHA_INVALID = -1,
|
||||
};
|
||||
|
||||
/* Do not use these function in multi core mode due to
|
||||
* inside they have no safe implementation (without DPORT workaround).
|
||||
*/
|
||||
void ets_sha_init(SHA_CTX *ctx);
|
||||
|
||||
void ets_sha_enable(void);
|
||||
|
Reference in New Issue
Block a user