SHA: add HAL layer and refactor driver

Add a LL and HAL layer for SHA.
This commit is contained in:
Marius Vikhammer
2020-08-13 16:30:59 +08:00
committed by bot
parent a587cd1774
commit 949fb8e63a
42 changed files with 1752 additions and 2166 deletions

View File

@@ -13,7 +13,7 @@
#include "mbedtls/sha1.h"
#include "mbedtls/sha256.h"
#include "mbedtls/sha512.h"
#include "esp32s2/sha.h"
#include "sha/sha_dma.h"
/* Note: Most of the SHA functions are called as part of mbedTLS, so
are tested as part of mbedTLS tests. Only esp_sha() is different.