mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Modified to be compatible with the new version of sdk, compatible with esp32s3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
#define HW_VENDOR HardwareModel_TBEAM
|
||||
#elif defined(TBEAM_V07)
|
||||
#define HW_VENDOR HardwareModel_TBEAM0p7
|
||||
#elif defined(TBEAM_S3_M2)
|
||||
#define HW_VENDOR HardwareModel_TBEAM_S3_M2
|
||||
#elif defined(DIY_V1)
|
||||
#define HW_VENDOR HardwareModel_DIY_V1
|
||||
#elif defined(RAK_11200)
|
||||
|
||||
Reference in New Issue
Block a user