refactor(esp_hal_security): Updated esp_hal_security build and includes

This commit is contained in:
Aditya Patwardhan
2026-01-30 17:12:54 +05:30
parent 6c2716cd27
commit 4d3cfefc2e
149 changed files with 765 additions and 188 deletions
@@ -10,7 +10,7 @@
#include <string.h>
#include "soc/hwcrypto_reg.h"
#include "soc/pcr_struct.h"
#include "esp_hal_security/aes_types.h"
#include "hal/aes_types.h"
#include "hal/efuse_hal.h"
#include "soc/chip_revision.h"
@@ -17,7 +17,7 @@
#include "soc/pcr_reg.h"
#include "soc/interrupts.h"
#include "esp_hal_security/apm_types.h"
#include "hal/apm_types.h"
#ifdef __cplusplus
extern "C" {
@@ -18,7 +18,7 @@
#include "soc/hwcrypto_reg.h"
#include "soc/soc_caps.h"
#include "soc/pcr_struct.h"
#include "esp_hal_security/ds_types.h"
#include "hal/ds_types.h"
#ifdef __cplusplus
extern "C" {
@@ -8,7 +8,7 @@
#include <stdbool.h>
#include <string.h>
#include "hal/assert.h"
#include "esp_hal_security/ecc_types.h"
#include "hal/ecc_types.h"
#include "soc/ecc_mult_reg.h"
#include "soc/pcr_struct.h"
#include "soc/pcr_reg.h"
@@ -12,8 +12,8 @@
#include "soc/ecdsa_struct.h"
#include "soc/pcr_struct.h"
#include "soc/efuse_periph.h"
#include "esp_hal_security/ecdsa_types.h"
#include "esp_hal_security/ecc_ll.h"
#include "hal/ecdsa_types.h"
#include "hal/ecc_ll.h"
#ifdef __cplusplus
extern "C" {
@@ -18,7 +18,7 @@
#include "soc/system_reg.h"
#include "soc/hwcrypto_reg.h"
#include "soc/pcr_struct.h"
#include "esp_hal_security/hmac_types.h"
#include "hal/hmac_types.h"
#define SHA256_BLOCK_SZ 64
#define SHA256_DIGEST_SZ 32
@@ -9,7 +9,7 @@
#include <string.h>
#include <sys/param.h>
#include "hal/assert.h"
#include "esp_hal_security/mpi_types.h"
#include "hal/mpi_types.h"
#include "soc/pcr_reg.h"
#include "soc/pcr_struct.h"
#include "soc/rsa_reg.h"
@@ -8,7 +8,7 @@
#include <stdbool.h>
#include "soc/hwcrypto_reg.h"
#include "soc/pcr_struct.h"
#include "esp_hal_security/sha_types.h"
#include "hal/sha_types.h"
#ifdef __cplusplus
extern "C" {