SHA-256 context structure. More...
#include <sha2.h>
Data Fields | |
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.
Definition at line 10 of file sha2.h.
unsigned char sha2_context::buffer[64] |
unsigned char sha2_context::ipad[64] |
0 => SHA-256, else SHA-224
Definition at line 18 of file sha2.h.
Referenced by sha2_finish(), sha2_hmac_finish(), and sha2_starts().
unsigned char sha2_context::opad[64] |
HMAC: outer padding
Definition at line 17 of file sha2.h.
Referenced by sha2_hmac_finish(), and sha2_hmac_starts().
unsigned long sha2_context::state[8] |
intermediate digest state
Definition at line 13 of file sha2.h.
Referenced by sha2_finish(), sha2_process(), and sha2_starts().
unsigned long sha2_context::total[2] |
number of bytes processed
Definition at line 12 of file sha2.h.
Referenced by sha2_finish(), sha2_starts(), and sha2_update().