WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
uapi_drv_cipher_hash_clone_ctx结构体 参考

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计算中间结果结构体

结构体成员变量说明

◆ hash_type

uapi_drv_cipher_hash_type_t uapi_drv_cipher_hash_clone_ctx::hash_type

hash计算使用的算法。

◆ i_key_pad

uint8_t uapi_drv_cipher_hash_clone_ctx::i_key_pad[128]

保存i_key_pad,hmac 算法使用。

◆ length

uint32_t uapi_drv_cipher_hash_clone_ctx::length[2]

保存当前已处理的数据长度,单位是位。

◆ o_key_pad

uint8_t uapi_drv_cipher_hash_clone_ctx::o_key_pad[128]

保存o_key_pad,hmac 算法使用。

◆ state

uint32_t uapi_drv_cipher_hash_clone_ctx::state[16]

保存计算中间结果。

◆ tail

uint8_t uapi_drv_cipher_hash_clone_ctx::tail[128]

上次计算后剩余未对齐的尾部数据。

◆ tail_len

uint32_t uapi_drv_cipher_hash_clone_ctx::tail_len

上次计算后剩余未对齐的尾部数据长度。


该结构体的文档由以下文件生成: