Modified to be compatible with the new version of sdk, compatible with esp32s3

This commit is contained in:
lewis
2022-09-03 23:38:40 +08:00
parent 8d5ffb7262
commit f767fd5075
8 changed files with 127 additions and 6 deletions

View File

@@ -1,16 +1,16 @@
#include "CryptoEngine.h"
#include "configuration.h"
#if CONFIG_IDF_TARGET_ESP32S3
#include "mbedtls/aes.h"
#else
#include "crypto/includes.h"
#include "crypto/common.h"
// #include "esp_system.h"
#include "crypto/aes.h"
#include "crypto/aes_wrap.h"
#include "mbedtls/aes.h"
#endif
class ESP32CryptoEngine : public CryptoEngine