use the new ESP Framework for our older boards too

This commit is contained in:
Thomas Göttgens
2022-09-09 22:31:30 +02:00
parent e375a8460b
commit bf3306fbc8
5 changed files with 27 additions and 52 deletions

View File

@@ -1,16 +1,8 @@
#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