|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
hash计算中间结果结构体 更多...
#include <cipher.h>
成员变量 | |
| uint32_t | length [2] |
| uint32_t | state [16] |
| uint32_t | tail_len |
| uapi_drv_cipher_hash_type_t | hash_type |
| uint8_t | o_key_pad [128] |
| uint8_t | i_key_pad [128] |
| uint8_t | tail [128] |
hash计算中间结果结构体
| uapi_drv_cipher_hash_type_t uapi_drv_cipher_hash_clone_ctx::hash_type |
hash计算使用的算法。
| uint8_t uapi_drv_cipher_hash_clone_ctx::i_key_pad[128] |
保存i_key_pad,hmac 算法使用。
| uint32_t uapi_drv_cipher_hash_clone_ctx::length[2] |
保存当前已处理的数据长度,单位是位。
| uint8_t uapi_drv_cipher_hash_clone_ctx::o_key_pad[128] |
保存o_key_pad,hmac 算法使用。
| uint32_t uapi_drv_cipher_hash_clone_ctx::state[16] |
保存计算中间结果。
| uint8_t uapi_drv_cipher_hash_clone_ctx::tail[128] |
上次计算后剩余未对齐的尾部数据。
| uint32_t uapi_drv_cipher_hash_clone_ctx::tail_len |
上次计算后剩余未对齐的尾部数据长度。