|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

函数 | |
| td_s32 | drv_cipher_hash_init (td_void) |
| td_s32 | drv_cipher_hash_deinit (td_void) |
| const td_u32 * | drv_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) |
| td_s32 drv_cipher_hash_get | ( | td_handle | drv_hash_handle, |
| crypto_hash_clone_ctx * | hash_ctx | ||
| ) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
Description: cipher driver hash header.
History:
2023-03-22, Create file.
| td_s32 drv_cipher_hash_set | ( | td_handle | drv_hash_handle, |
| const crypto_hash_clone_ctx * | hash_ctx | ||
| ) |
| 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_pbkdf2 | ( | const crypto_kdf_pbkdf2_param * | param, |
| td_u8 * | out, | ||
| const td_u32 | out_len | ||
| ) |
| const td_u32 * drv_hash_get_state_iv | ( | crypto_hash_type | hash_type, |
| td_u32 * | iv_size | ||
| ) |