move hwcrypto from esp32 to mbedtls

This commit is contained in:
morris
2019-03-25 14:15:14 +08:00
parent 9f3b550ff4
commit 709a320f33
17 changed files with 35 additions and 26 deletions

View File

@@ -18,8 +18,8 @@
#include "soc/rtc.h"
#include "esp_log.h"
#include "mbedtls/sha256.h"
#include "hwcrypto/sha.h"
#include "hwcrypto/aes.h"
#include "esp32/sha.h"
#include "esp32/aes.h"
#include "mbedtls/rsa.h"
static const char *TAG = "test";

View File

@@ -13,7 +13,7 @@
#include "mbedtls/sha1.h"
#include "mbedtls/sha256.h"
#include "mbedtls/sha512.h"
#include "hwcrypto/sha.h"
#include "esp32/sha.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.