mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
refactor(hal): Created esp_hal_security for security code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "soc/efuse_periph.h"
|
||||
#include "hal/assert.h"
|
||||
#include "rom/efuse.h"
|
||||
#include "hal/ecdsa_types.h"
|
||||
#include "esp_hal_security/ecdsa_types.h"
|
||||
#include "soc/efuse_defs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -105,11 +105,12 @@ __attribute__((always_inline)) static inline uint32_t efuse_ll_get_chip_ver_pkg(
|
||||
// TODO: [ESP32S31] IDF-14688
|
||||
}
|
||||
|
||||
__attribute__((always_inline)) static inline void efuse_ll_set_ecdsa_key_blk(ecdsa_curve_t curve, int efuse_blk)
|
||||
{
|
||||
(void) curve;
|
||||
// TODO: [ESP32S31] IDF-14688
|
||||
}
|
||||
// TODO: [ESP32S31] IDF-14688
|
||||
// __attribute__((always_inline)) static inline void efuse_ll_set_ecdsa_key_blk(ecdsa_curve_t curve, int efuse_blk)
|
||||
// {
|
||||
// (void) curve;
|
||||
//
|
||||
// }
|
||||
|
||||
/******************* eFuse control functions *************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user