WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
drv_hash.h
浏览该文件的文档.
1
9#ifndef DRV_HASH_H
10#define DRV_HASH_H
11
12#include "crypto_type.h"
13#include "crypto_hash_struct.h"
14#include "crypto_kdf_struct.h"
15
16#ifdef __cplusplus
17#if __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20#endif /* __cplusplus */
21
23
25
26const td_u32 *drv_hash_get_state_iv(crypto_hash_type hash_type, td_u32 *iv_size);
27
28td_s32 drv_cipher_hash_start(td_handle *drv_hash_handle, const crypto_hash_attr *hash_attr);
29
30td_s32 drv_cipher_hash_update(td_handle drv_hash_handle, const crypto_buf_attr *src_buf, const td_u32 len);
31
32td_s32 drv_cipher_hash_finish(td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len);
33
34td_s32 drv_cipher_hash_finish_data(td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len);
35
37
38td_s32 drv_cipher_hash_set(td_handle drv_hash_handle, const crypto_hash_clone_ctx *hash_ctx);
39
41
43
44td_s32 drv_cipher_pbkdf2(const crypto_kdf_pbkdf2_param *param, td_u8 *out, const td_u32 out_len);
45
46#ifdef __cplusplus
47#if __cplusplus
48}
49#endif /* __cplusplus */
50#endif /* __cplusplus */
51
52#endif
crypto_hash_type
Definition crypto_hash_struct.h:98
Definition crypto_common_struct.h:19
Definition crypto_hash_struct.h:154
Definition crypto_hash_struct.h:168
Definition crypto_kdf_struct.h:15
td_u32 td_handle
Definition td_type.h:51
unsigned char td_u8
Definition td_type.h:36
void td_void
Definition td_type.h:49
unsigned int td_u32
Definition td_type.h:38
int td_s32
Definition td_type.h:44
td_s32 drv_cipher_pbkdf2(const crypto_kdf_pbkdf2_param *param, td_u8 *out, const td_u32 out_len)
Definition drv_pbkdf2_hard.c:262
td_s32 drv_cipher_hash_set(td_handle drv_hash_handle, const crypto_hash_clone_ctx *hash_ctx)
Definition drv_hash.c:669
td_s32 drv_cipher_hash_destroy(td_handle drv_hash_handle)
Definition drv_hash.c:736
td_void drv_cipher_hash_debug_handle(td_handle drv_hash_handle)
td_s32 drv_cipher_hash_update(td_handle drv_hash_handle, const crypto_buf_attr *src_buf, const td_u32 len)
Definition drv_hash.c:335
td_s32 drv_cipher_hash_deinit(td_void)
Definition drv_hash.c:182
td_s32 drv_cipher_hash_start(td_handle *drv_hash_handle, const crypto_hash_attr *hash_attr)
Definition drv_hash.c:279
td_s32 drv_cipher_hash_finish_data(td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len)
Definition drv_hash.c:606
td_s32 drv_cipher_hash_get(td_handle drv_hash_handle, crypto_hash_clone_ctx *hash_ctx)
Definition drv_hash.c:611
td_s32 drv_cipher_hash_finish(td_handle drv_hash_handle, td_u8 *out, td_u32 *out_len)
Definition drv_hash.c:601
const td_u32 * drv_hash_get_state_iv(crypto_hash_type hash_type, td_u32 *iv_size)
Definition drv_hash.c:782
td_s32 drv_cipher_hash_init(td_void)
Definition drv_hash.c:157