forked from espressif/esp-idf
fix(hal): Fix typo in hal layer for Key Manger
This also fixes type in attribute added in esp_attr
This commit is contained in:
@@ -58,7 +58,7 @@ extern "C" {
|
|||||||
#define DMA_ATTR WORD_ALIGNED_ATTR DRAM_ATTR
|
#define DMA_ATTR WORD_ALIGNED_ATTR DRAM_ATTR
|
||||||
|
|
||||||
// Forces the data to be tightly packed with minimum required padding and no extra bytes are added for alignment
|
// Forces the data to be tightly packed with minimum required padding and no extra bytes are added for alignment
|
||||||
#define PACKED_ATTR __attribute__((packed));
|
#define PACKED_ATTR __attribute__((packed))
|
||||||
|
|
||||||
// Forces a function to be inlined
|
// Forces a function to be inlined
|
||||||
#define FORCE_INLINE_ATTR static inline __attribute__((always_inline))
|
#define FORCE_INLINE_ATTR static inline __attribute__((always_inline))
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "soc/soc_caps.h"
|
||||||
|
|
||||||
#if SOC_KEY_MANAGER_SUPPORTED
|
#if SOC_KEY_MANAGER_SUPPORTED
|
||||||
#include "hal/huk_types.h"
|
#include "hal/huk_types.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@@ -10,6 +10,9 @@
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "soc/soc_caps.h"
|
||||||
|
|
||||||
#if SOC_KEY_MANAGER_SUPPORTED
|
#if SOC_KEY_MANAGER_SUPPORTED
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "soc/soc_caps.h"
|
||||||
|
|
||||||
#if SOC_KEY_MANAGER_SUPPORTED
|
#if SOC_KEY_MANAGER_SUPPORTED
|
||||||
#include "hal/key_mgr_types.h"
|
#include "hal/key_mgr_types.h"
|
||||||
|
|
||||||
|
@@ -10,6 +10,9 @@
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "soc/soc_caps.h"
|
||||||
|
|
||||||
#if SOC_KEY_MANAGER_SUPPORTED
|
#if SOC_KEY_MANAGER_SUPPORTED
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@@ -59,7 +59,7 @@ void key_mgr_hal_write_assist_info(const uint8_t *assist_info_buf, const size_t
|
|||||||
key_mgr_ll_write_assist_info(assist_info_buf, data_len);
|
key_mgr_ll_write_assist_info(assist_info_buf, data_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
void key_mgr_hal_assist_assist_info(uint8_t *assist_info_buf)
|
void key_mgr_hal_read_assist_info(uint8_t *assist_info_buf)
|
||||||
{
|
{
|
||||||
key_mgr_ll_read_assist_info(assist_info_buf);
|
key_mgr_ll_read_assist_info(assist_info_buf);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user