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


结构体 | |
| struct | _sha256_context |
宏定义 | |
| #define | SHA256_HASH_SIZE 32 |
| #define | SHA256_HASH_WORDS 8 |
| #define | SHA256_BUFFER_WORDS 16 |
| #define | SHA256_BUFFER_BYTES 64 |
类型定义 | |
| typedef struct _sha256_context | sha256_context_t |
函数 | |
| void | sha256_init (sha256_context_t *sc) |
| void | SHA256Update (sha256_context_t *sc, const void *vdata, uint32_t len) |
| void | sha256_final (sha256_context_t *sc, uint8_t hash[32], uint32_t hash_len) |
| void | sha256_hash (const uint8_t *in_buff, uint32_t in_buff_len, uint8_t *out_buff, uint32_t out_buff_len) |
| #define SHA256_BUFFER_BYTES 64 |
| #define SHA256_BUFFER_WORDS 16 |
| #define SHA256_HASH_SIZE 32 |
| #define SHA256_HASH_WORDS 8 |
| typedef struct _sha256_context sha256_context_t |
| void sha256_final | ( | sha256_context_t * | sc, |
| uint8_t | hash[32], | ||
| uint32_t | hash_len | ||
| ) |
| void sha256_hash | ( | const uint8_t * | in_buff, |
| uint32_t | in_buff_len, | ||
| uint8_t * | out_buff, | ||
| uint32_t | out_buff_len | ||
| ) |
| void sha256_init | ( | sha256_context_t * | sc | ) |
| void SHA256Update | ( | sha256_context_t * | sc, |
| const void * | vdata, | ||
| uint32_t | len | ||
| ) |