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

浏览源代码.

结构体

struct  hal_symc_config_t
 

函数

td_s32 hal_cipher_symc_init (td_void)
 
td_s32 hal_cipher_symc_deinit (td_void)
 
td_s32 hal_cipher_symc_low_power_set (td_bool flag)
 
td_s32 hal_cipher_symc_lock_chn (td_u32 chn_num)
 
td_s32 hal_cipher_symc_unlock_chn (td_u32 chn_num)
 
td_s32 hal_cipher_symc_attach (td_u32 symc_chn_num, td_u32 keyslot_chn_num)
 
td_s32 hal_cipher_symc_set_iv (td_u32 chn_num, const td_u8 *iv, td_u32 iv_len)
 
td_s32 hal_cipher_symc_get_iv (td_u32 chn_num, td_u8 *iv, td_u32 iv_len)
 
td_s32 hal_cipher_symc_config (td_u32 chn_num, const hal_symc_config_t *symc_config)
 
td_s32 hal_cipher_symc_get_module_info (crypto_symc_module_info *module_info)
 
td_s32 hal_cipher_symc_get_proc_info (td_u32 chn_num, crypto_symc_proc_info *proc_symc_info)
 
td_s32 hal_cipher_symc_get_config (td_u32 chn_num, hal_symc_config_t *symc_config)
 
td_s32 hal_cipher_symc_add_in_node (td_u32 chn_num, td_phys_addr_t data_phys_addr, td_u32 data_len, in_node_type_e in_node_type)
 
td_s32 hal_cipher_symc_add_out_node (td_u32 chn_num, td_phys_addr_t data_phys_addr, td_u32 data_len)
 
td_s32 hal_cipher_symc_enable_cenc_node (td_u32 chn_num, td_u32 is_head, td_u32 c_num, td_u32 e_num, td_u32 offset_len)
 
td_s32 hal_cipher_symc_get_tag (td_u32 chn_num, td_u8 *tag, td_u32 tag_len)
 
td_s32 hal_cipher_symc_start (td_u32 chn_num)
 
td_s32 hal_cipher_symc_wait_done (td_u32 chn_num, td_bool is_wait)
 
td_s32 hal_cipher_symc_done_try (td_u32 chn_num)
 
td_s32 hal_cipher_symc_done_notify (td_u32 chn_num)
 
td_s32 hal_cipher_symc_register_wait_func (td_u32 chn_num, td_void *wait, crypto_wait_timeout_interruptible wait_func, td_u32 timeout_ms)
 
td_s32 hal_cipher_symc_debug (td_void)
 
td_s32 hal_cipher_symc_debug_chn (td_u32 chn_num)
 
td_s32 hal_cipher_symc_set_key (td_u32 chn_num, const td_u8 *key, td_u32 key_len)
 
td_void hal_cipher_set_chn_secure (td_u32 chn_num, td_bool dest_sec, td_bool src_sec)
 
td_s32 hal_cipher_symc_wait_func_config (td_u32 chn_num, td_bool is_enable)
 

函数说明

◆ hal_cipher_set_chn_secure()

td_void hal_cipher_set_chn_secure ( td_u32  chn_num,
td_bool  dest_sec,
td_bool  src_sec 
)

◆ hal_cipher_symc_add_in_node()

td_s32 hal_cipher_symc_add_in_node ( td_u32  chn_num,
td_phys_addr_t  data_phys_addr,
td_u32  data_len,
in_node_type_e  in_node_type 
)

◆ hal_cipher_symc_add_out_node()

td_s32 hal_cipher_symc_add_out_node ( td_u32  chn_num,
td_phys_addr_t  data_phys_addr,
td_u32  data_len 
)

◆ hal_cipher_symc_attach()

td_s32 hal_cipher_symc_attach ( td_u32  symc_chn_num,
td_u32  keyslot_chn_num 
)

◆ hal_cipher_symc_config()

td_s32 hal_cipher_symc_config ( td_u32  chn_num,
const hal_symc_config_t symc_config 
)

◆ hal_cipher_symc_debug()

td_s32 hal_cipher_symc_debug ( td_void  )

◆ hal_cipher_symc_debug_chn()

td_s32 hal_cipher_symc_debug_chn ( td_u32  chn_num)

◆ hal_cipher_symc_deinit()

td_s32 hal_cipher_symc_deinit ( td_void  )

◆ hal_cipher_symc_done_notify()

td_s32 hal_cipher_symc_done_notify ( td_u32  chn_num)

◆ hal_cipher_symc_done_try()

td_s32 hal_cipher_symc_done_try ( td_u32  chn_num)

◆ hal_cipher_symc_enable_cenc_node()

td_s32 hal_cipher_symc_enable_cenc_node ( td_u32  chn_num,
td_u32  is_head,
td_u32  c_num,
td_u32  e_num,
td_u32  offset_len 
)

◆ hal_cipher_symc_get_config()

td_s32 hal_cipher_symc_get_config ( td_u32  chn_num,
hal_symc_config_t symc_config 
)

◆ hal_cipher_symc_get_iv()

td_s32 hal_cipher_symc_get_iv ( td_u32  chn_num,
td_u8 iv,
td_u32  iv_len 
)

◆ hal_cipher_symc_get_module_info()

td_s32 hal_cipher_symc_get_module_info ( crypto_symc_module_info module_info)

◆ hal_cipher_symc_get_proc_info()

td_s32 hal_cipher_symc_get_proc_info ( td_u32  chn_num,
crypto_symc_proc_info proc_symc_info 
)

◆ hal_cipher_symc_get_tag()

td_s32 hal_cipher_symc_get_tag ( td_u32  chn_num,
td_u8 tag,
td_u32  tag_len 
)

◆ hal_cipher_symc_init()

td_s32 hal_cipher_symc_init ( td_void  )

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

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

◆ hal_cipher_symc_lock_chn()

td_s32 hal_cipher_symc_lock_chn ( td_u32  chn_num)

◆ hal_cipher_symc_low_power_set()

td_s32 hal_cipher_symc_low_power_set ( td_bool  flag)

◆ hal_cipher_symc_register_wait_func()

td_s32 hal_cipher_symc_register_wait_func ( td_u32  chn_num,
td_void wait,
crypto_wait_timeout_interruptible  wait_func,
td_u32  timeout_ms 
)

◆ hal_cipher_symc_set_iv()

td_s32 hal_cipher_symc_set_iv ( td_u32  chn_num,
const td_u8 iv,
td_u32  iv_len 
)

◆ hal_cipher_symc_set_key()

td_s32 hal_cipher_symc_set_key ( td_u32  chn_num,
const td_u8 key,
td_u32  key_len 
)

◆ hal_cipher_symc_start()

td_s32 hal_cipher_symc_start ( td_u32  chn_num)

◆ hal_cipher_symc_unlock_chn()

td_s32 hal_cipher_symc_unlock_chn ( td_u32  chn_num)

◆ hal_cipher_symc_wait_done()

td_s32 hal_cipher_symc_wait_done ( td_u32  chn_num,
td_bool  is_wait 
)

◆ hal_cipher_symc_wait_func_config()

td_s32 hal_cipher_symc_wait_func_config ( td_u32  chn_num,
td_bool  is_enable 
)