feat: enable secure boot for c5

This MR added suppport for secure boot in ESP32-C5.
This commit is contained in:
nilesh.kale
2024-03-29 15:43:24 +05:30
parent 019165b950
commit f5dd1074b6
15 changed files with 138 additions and 30 deletions

View File

@@ -21,6 +21,8 @@
#include "esp32h2/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32P4
#include "esp32p4/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32C5
#include "esp32c5/rom/secure_boot.h"
#endif
esp_err_t verify_ecdsa_signature_block(const ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, const ets_secure_boot_sig_block_t *trusted_block);