mbedTLS SHA Acceleration: Add missing esp_sha_lock_engine() function

This commit is contained in:
Angus Gratton
2016-11-22 20:56:36 +11:00
parent 2561b68af8
commit dfcb241850
2 changed files with 18 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ void esp_sha_read_digest_state(esp_sha_type sha_type, void *digest_state);
* while a TLS connection is open, suggest using
* esp_sha_try_lock_engine() and failing over to software SHA.
*/
bool esp_sha_lock_engine(esp_sha_type sha_type);
void esp_sha_lock_engine(esp_sha_type sha_type);
/**
* @brief Try and obtain exclusive access to a particular SHA engine