SHA-256 context structure. More...
#include <sha2.h>
Public Attributes | |
unsigned long | total [2] |
unsigned long | state [8] |
unsigned char | buffer [64] |
unsigned char | ipad [64] |
unsigned char | opad [64] |
int | is224 |
SHA-256 context structure.
unsigned long sha2_context::total[2] |
number of bytes processed
unsigned long sha2_context::state[8] |
intermediate digest state
unsigned char sha2_context::buffer[64] |
data block being processed
unsigned char sha2_context::ipad[64] |
HMAC: inner padding
unsigned char sha2_context::opad[64] |
HMAC: outer padding
int sha2_context::is224 |
0 if SHA-256, 1 if SHA-224