WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
security_sha256.h 文件参考
#include <stdint.h>
#include "errcode.h"
security_sha256.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define SHA256_HASH_SIZE   32
 

函数

errcode_t uapi_drv_cipher_sha256_start (uint32_t *hash_handle)
 创建sha256通道。
 
errcode_t uapi_drv_cipher_sha256_update (uint32_t hash_handle, const uint8_t *buf, uint32_t len)
 Sha256计算
 
errcode_t uapi_drv_cipher_sha256_finish (uint32_t hash_handle, uint8_t *out, uint32_t *out_len)
 Sha256计算获取摘要信息,并在计算成功的时候销毁hash句柄。
 
errcode_t uapi_drv_cipher_sha256 (const uint8_t *buf, uint32_t len, uint8_t *out, uint32_t out_len)
 Sha256计算