refactor(esp_hal_security): Updated esp_hal_security build and includes

This commit is contained in:
Aditya Patwardhan
2026-01-21 10:02:44 +05:30
parent 5ee7af3afd
commit eb4a871eca
152 changed files with 206 additions and 198 deletions
@@ -10,7 +10,7 @@
#include <string.h>
#include "soc/aes_reg.h"
#include "soc/pcr_struct.h"
#include "esp_hal_security/aes_types.h"
#include "hal/aes_types.h"
#ifdef __cplusplus
extern "C" {
@@ -22,7 +22,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"
@@ -11,7 +11,7 @@
#include "soc/ecdsa_reg.h"
#include "soc/pcr_struct.h"
#include "soc/efuse_periph.h"
#include "esp_hal_security/ecdsa_types.h"
#include "hal/ecdsa_types.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
@@ -19,7 +19,7 @@
#include <stdbool.h>
#include <string.h>
#include "esp_hal_security/huk_types.h"
#include "hal/huk_types.h"
#include "soc/huk_reg.h"
#include "soc/soc_caps.h"
#include "soc/lp_aon_reg.h"
@@ -16,7 +16,7 @@
#include <string.h>
#include "hal/assert.h"
#include "esp_hal_security/key_mgr_types.h"
#include "hal/key_mgr_types.h"
#include "soc/keymng_reg.h"
#include "soc/pcr_struct.h"
#include "soc/pcr_reg.h"
@@ -10,7 +10,7 @@
#include <sys/param.h>
#include "soc/soc_caps.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" {