Microchip® Advanced Software Framework

sw_sha256_ctx Struct Reference

#include <sha2_routines.h>

Data Fields

uint8_t block [SHA256_BLOCK_SIZE *2]
 Unprocessed message storage. More...
 
uint32_t block_size
 Number of bytes in current block. More...
 
uint32_t hash [8]
 Hash state. More...
 
uint32_t total_msg_size
 Total number of message bytes processed. More...
 

uint8_t sw_sha256_ctx::block[SHA256_BLOCK_SIZE *2]

Unprocessed message storage.

Referenced by sw_sha256_final(), and sw_sha256_update().

uint32_t sw_sha256_ctx::block_size

Number of bytes in current block.

Referenced by sw_sha256_final(), and sw_sha256_update().

uint32_t sw_sha256_ctx::hash[8]

Hash state.

Referenced by sw_sha256_final(), sw_sha256_init(), and sw_sha256_process().

uint32_t sw_sha256_ctx::total_msg_size

Total number of message bytes processed.

Referenced by sw_sha256_final(), and sw_sha256_update().