MT7687 API Reference  LinkIt SDK v4
hal_sha_context_t Struct Reference
HAL » SHA » Struct

SHA context - SHA1/224/256/384/512. More...

#include <hal_sha.h>

Data Fields

uint32_t hash_value [16]
 Hash value. More...
 
uint32_t message_length
 Total size. More...
 
uint8_t buffer [HAL_SHA512_BLOCK_SIZE]
 Data buffer. More...
 
uint8_t * block
 A pointer to the start of the buffer. More...
 
uint32_t block_length
 Block length for each operation. More...
 

Detailed Description

SHA context - SHA1/224/256/384/512.

Field Documentation

uint8_t* block

A pointer to the start of the buffer.

uint32_t block_length

Block length for each operation.

uint8_t buffer[HAL_SHA512_BLOCK_SIZE]

Data buffer.

uint32_t hash_value[16]

Hash value.

uint32_t message_length

Total size.


The documentation for this struct was generated from the following file: