SHA: added hardware support for SHA on C2.

This commit is contained in:
Marius Vikhammer
2021-09-24 14:32:58 +08:00
parent 405ced6a83
commit f4c79687f8
19 changed files with 921 additions and 85 deletions

View File

@@ -50,7 +50,7 @@ typedef struct {
esp_mbedtls_sha256_mode mode;
} mbedtls_sha256_context;
#elif SOC_SHA_SUPPORT_DMA
#elif SOC_SHA_SUPPORT_DMA || SOC_SHA_SUPPORT_RESUME
typedef enum {
ESP_SHA256_STATE_INIT,
ESP_SHA256_STATE_IN_PROCESS