sha2_context_t Struct Reference
SHA-2 context. More...
Data Fields | |
uint32_t | total [2] |
uint32_t | state [8] |
unsigned char | buffer [64] |
unsigned char | ipad [64] |
unsigned char | opad [64] |
int32_t | is224 |
Detailed Description
SHA-2 context.
Field Documentation
unsigned char sha2_context_t::buffer[64] |
data block being processed
unsigned char sha2_context_t::ipad[64] |
HMAC: inner padding
int32_t sha2_context_t::is224 |
0 => SHA-256, else SHA-224
unsigned char sha2_context_t::opad[64] |
HMAC: outer padding
uint32_t sha2_context_t::state[8] |
intermediate digest state
uint32_t sha2_context_t::total[2] |
number of bytes processed