feat: enabled ECDSA peripheral support for ESSP32-P4

This commit is contained in:
nilesh.kale
2026-02-09 20:05:46 +08:00
committed by Nilesh Kale
parent 4ca9ad7552
commit 6584b5adad
17 changed files with 410 additions and 474 deletions
@@ -0,0 +1,31 @@
/*
* SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdbool.h>
#include <string.h>
#include "hal/assert.h"
#include "soc/ecdsa_reg.h"
#include "soc/pcr_struct.h"
#include "soc/efuse_periph.h"
#include "hal/ecdsa_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Check if the ECDSA peripheral is supported on this chip revision
* For ESP32-H4, ECDSA is always supported
*/
static inline bool ecdsa_ll_is_supported(void)
{
return true;
}
#ifdef __cplusplus
}
#endif