feat(mbedtls): mbedtls using SHA/AES of util component instead of its raw algorithm

This commit is contained in:
Dong Heng
2019-12-24 13:23:57 +08:00
parent d701e4f858
commit ffaaf07089
7 changed files with 58 additions and 138 deletions

View File

@@ -28,10 +28,9 @@ typedef struct {
} esp_sha1_t;
typedef struct {
uint64_t length;
uint32_t curlen;
uint32_t total[2];
uint32_t state[8];
uint8_t buf[64];
uint8_t buffer[64];
} esp_sha256_t;
typedef struct {