WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_klad.h 文件参考
#include "td_type.h"
#include "hal_rkp.h"
#include "crypto_km_struct.h"
hal_klad.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

函数

td_s32 hal_klad_lock (td_void)
 
td_s32 hal_klad_unlock (td_void)
 
td_s32 hal_klad_set_key_crypto_cfg (td_bool encrypt_support, td_bool decrypt_support, crypto_klad_engine engine)
 
td_s32 hal_klad_set_key_dest_cfg (crypto_klad_dest dest, crypto_klad_flash_key_type flash_key_type)
 
td_s32 hal_klad_set_key_secure_cfg (const crypto_klad_key_secure_config *secure_cfg)
 
td_s32 hal_klad_set_key_addr (crypto_klad_dest klad_dest, td_u32 keyslot_chn)
 
td_s32 hal_klad_set_data (const td_u8 *data, td_u32 data_length)
 
td_s32 hal_klad_start_clr_route (crypto_klad_dest klad_dest, const crypto_klad_clear_key *clear_key)
 
td_s32 hal_klad_start_com_route (crypto_kdf_hard_key_type rk_type, const crypto_klad_effective_key *content_key, crypto_klad_dest klad_dest)
 

函数说明

◆ hal_klad_lock()

td_s32 hal_klad_lock ( td_void  )

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.

Description: hal klad header.
History:
2023-03-22, Create file.

◆ hal_klad_set_data()

td_s32 hal_klad_set_data ( const td_u8 data,
td_u32  data_length 
)

◆ hal_klad_set_key_addr()

td_s32 hal_klad_set_key_addr ( crypto_klad_dest  klad_dest,
td_u32  keyslot_chn 
)

◆ hal_klad_set_key_crypto_cfg()

td_s32 hal_klad_set_key_crypto_cfg ( td_bool  encrypt_support,
td_bool  decrypt_support,
crypto_klad_engine  engine 
)

◆ hal_klad_set_key_dest_cfg()

td_s32 hal_klad_set_key_dest_cfg ( crypto_klad_dest  dest,
crypto_klad_flash_key_type  flash_key_type 
)

◆ hal_klad_set_key_secure_cfg()

td_s32 hal_klad_set_key_secure_cfg ( const crypto_klad_key_secure_config secure_cfg)

◆ hal_klad_start_clr_route()

td_s32 hal_klad_start_clr_route ( crypto_klad_dest  klad_dest,
const crypto_klad_clear_key clear_key 
)

◆ hal_klad_start_com_route()

td_s32 hal_klad_start_com_route ( crypto_kdf_hard_key_type  rk_type,
const crypto_klad_effective_key content_key,
crypto_klad_dest  klad_dest 
)

◆ hal_klad_unlock()

td_s32 hal_klad_unlock ( td_void  )