Squelch interfering def of SHA_CTX

This commit is contained in:
Eric Blankenhorn
2021-02-18 16:29:38 -06:00
parent ac38e53fec
commit 8988f1d5a2

View File

@ -89,11 +89,13 @@ uint64_t wc_esp32elapsedTime();
/* RAW hash function APIs are not implemented with esp32 hardware acceleration*/
#define WOLFSSL_NO_HASH_RAW
#define SHA_CTX ETS_SHAContext
#if ESP_IDF_VERSION_MAJOR >= 4
#include "esp32/rom/sha.h"
#else
#include "rom/sha.h"
#endif
#undef SHA_CTX
typedef enum {
ESP32_SHA_INIT = 0,