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

浏览源代码.

函数

td_s32 hal_cipher_hash_init (td_void)
 
td_s32 hal_cipher_hash_deinit (td_void)
 
td_s32 hal_hash_lock (td_u32 chn_num)
 
td_s32 hal_hash_unlock (td_u32 chn_num)
 
td_s32 hal_cipher_hash_config (td_u32 chn_num, crypto_hash_type hash_type, const td_u32 *state)
 
td_s32 hal_cipher_hash_attach (td_u32 chn_num, td_u32 keyslot_chn_num)
 
td_s32 hal_cipher_hash_add_in_node (td_u32 chn_num, td_phys_addr_t data_phys, td_u32 data_len, in_node_type_e in_node_type)
 
td_s32 hal_cipher_hash_start (td_u32 chn_num, td_bool is_wait)
 
td_s32 hal_cipher_hash_start_calc (td_u32 chn_num, td_u8 *data, td_u32 length)
 
td_s32 hal_cipher_hash_wait_done (td_u32 chn_num, td_u32 *state, td_u32 state_size)
 
td_s32 hal_cipher_hash_register_wait_func (td_u32 chn_num, td_void *wait, crypto_wait_timeout_interruptible wait_func, td_u32 timeout_ms)
 
td_s32 hal_cipher_hash_done_notify (td_u32 chn_num)
 
td_u32 hal_cipher_hash_done_try (td_u32 chn_num)
 
td_void hal_hash_debug (td_void)
 
td_void hal_hash_debug_chn (td_u32 chn_num)
 
td_s32 hal_cipher_hash_wait_func_config (td_u32 chn_num, td_bool is_enable)
 

函数说明

◆ hal_cipher_hash_add_in_node()

td_s32 hal_cipher_hash_add_in_node ( td_u32  chn_num,
td_phys_addr_t  data_phys,
td_u32  data_len,
in_node_type_e  in_node_type 
)

◆ hal_cipher_hash_attach()

td_s32 hal_cipher_hash_attach ( td_u32  chn_num,
td_u32  keyslot_chn_num 
)

◆ hal_cipher_hash_config()

td_s32 hal_cipher_hash_config ( td_u32  chn_num,
crypto_hash_type  hash_type,
const td_u32 state 
)

◆ hal_cipher_hash_deinit()

td_s32 hal_cipher_hash_deinit ( td_void  )

◆ hal_cipher_hash_done_notify()

td_s32 hal_cipher_hash_done_notify ( td_u32  chn_num)

◆ hal_cipher_hash_done_try()

td_u32 hal_cipher_hash_done_try ( td_u32  chn_num)

◆ hal_cipher_hash_init()

td_s32 hal_cipher_hash_init ( td_void  )

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

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

◆ hal_cipher_hash_register_wait_func()

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

◆ hal_cipher_hash_start()

td_s32 hal_cipher_hash_start ( td_u32  chn_num,
td_bool  is_wait 
)

◆ hal_cipher_hash_start_calc()

td_s32 hal_cipher_hash_start_calc ( td_u32  chn_num,
td_u8 data,
td_u32  length 
)

◆ hal_cipher_hash_wait_done()

td_s32 hal_cipher_hash_wait_done ( td_u32  chn_num,
td_u32 state,
td_u32  state_size 
)

◆ hal_cipher_hash_wait_func_config()

td_s32 hal_cipher_hash_wait_func_config ( td_u32  chn_num,
td_bool  is_enable 
)

◆ hal_hash_debug()

td_void hal_hash_debug ( td_void  )

◆ hal_hash_debug_chn()

td_void hal_hash_debug_chn ( td_u32  chn_num)

◆ hal_hash_lock()

td_s32 hal_hash_lock ( td_u32  chn_num)

◆ hal_hash_unlock()

td_s32 hal_hash_unlock ( td_u32  chn_num)