WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
drv_hash.h 文件参考
#include "crypto_type.h"
#include "crypto_hash_struct.h"
#include "crypto_kdf_struct.h"
drv_hash.h 的引用(Include)关系图:

浏览源代码.

函数

td_s32 drv_cipher_hash_init (td_void)
 
td_s32 drv_cipher_hash_deinit (td_void)
 
const td_u32drv_hash_get_state_iv (crypto_hash_type hash_type, td_u32 *iv_size)
 
td_s32 drv_cipher_hash_start (td_handle *drv_hash_handle, const crypto_hash_attr *hash_attr)
 
td_s32 drv_cipher_hash_update (td_handle drv_hash_handle, const crypto_buf_attr *src_buf, const td_u32 len)
 
td_s32 drv_cipher_hash_finish (td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len)
 
td_s32 drv_cipher_hash_finish_data (td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len)
 
td_s32 drv_cipher_hash_get (td_handle drv_hash_handle, crypto_hash_clone_ctx *hash_ctx)
 
td_s32 drv_cipher_hash_set (td_handle drv_hash_handle, const crypto_hash_clone_ctx *hash_ctx)
 
td_s32 drv_cipher_hash_destroy (td_handle drv_hash_handle)
 
td_void drv_cipher_hash_debug_handle (td_handle drv_hash_handle)
 
td_s32 drv_cipher_pbkdf2 (const crypto_kdf_pbkdf2_param *param, td_u8 *out, const td_u32 out_len)
 

函数说明

◆ drv_cipher_hash_debug_handle()

td_void drv_cipher_hash_debug_handle ( td_handle  drv_hash_handle)

◆ drv_cipher_hash_deinit()

td_s32 drv_cipher_hash_deinit ( td_void  )

◆ drv_cipher_hash_destroy()

td_s32 drv_cipher_hash_destroy ( td_handle  drv_hash_handle)

◆ drv_cipher_hash_finish()

td_s32 drv_cipher_hash_finish ( td_handle  drv_hash_handle,
td_u8 out,
td_u32 out_len 
)

◆ drv_cipher_hash_finish_data()

td_s32 drv_cipher_hash_finish_data ( td_handle  drv_hash_handle,
td_u8 out,
td_u32 out_len 
)

◆ drv_cipher_hash_get()

td_s32 drv_cipher_hash_get ( td_handle  drv_hash_handle,
crypto_hash_clone_ctx hash_ctx 
)

◆ drv_cipher_hash_init()

td_s32 drv_cipher_hash_init ( td_void  )

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

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

◆ drv_cipher_hash_set()

td_s32 drv_cipher_hash_set ( td_handle  drv_hash_handle,
const crypto_hash_clone_ctx hash_ctx 
)

◆ drv_cipher_hash_start()

td_s32 drv_cipher_hash_start ( td_handle drv_hash_handle,
const crypto_hash_attr hash_attr 
)

◆ drv_cipher_hash_update()

td_s32 drv_cipher_hash_update ( td_handle  drv_hash_handle,
const crypto_buf_attr src_buf,
const td_u32  len 
)

◆ drv_cipher_pbkdf2()

td_s32 drv_cipher_pbkdf2 ( const crypto_kdf_pbkdf2_param param,
td_u8 out,
const td_u32  out_len 
)

◆ drv_hash_get_state_iv()

const td_u32 * drv_hash_get_state_iv ( crypto_hash_type  hash_type,
td_u32 iv_size 
)