SHA-1 algorithm context. More...
#include <sha1.h>
Data Fields | |
uint32_t | buffer [SHA1_BLOCK_LENGTH/sizeof(uint32_t)] |
internal buffer | |
uint32_t | state [SHA1_DIGEST_LENGTH/sizeof(uint32_t)] |
buffering current state of hashing | |
uint32_t | byte_count |
already processed bytes | |
uint8_t | buffer_offset |
internal state variable to keep track if the buffer is filled before proceeding to hash this block | |
uint8_t | key_buffer [SHA1_BLOCK_LENGTH] |
internal state of the key buffer | |
uint8_t | inner_hash [SHA1_DIGEST_LENGTH] |
temporary buffer for the inner hashing | |