SHA-512 context structure. More...
#include <sha512.h>
Data Fields | |
uint64_t | total [2] |
uint64_t | state [8] |
unsigned char | buffer [128] |
unsigned char | ipad [128] |
unsigned char | opad [128] |
int | is384 |
SHA-512 context structure.
Definition at line 55 of file sha512.h.
unsigned char sha512_context::buffer[128] |
unsigned char sha512_context::ipad[128] |
HMAC: inner padding
Definition at line 61 of file sha512.h.
Referenced by sha512_hmac_reset(), and sha512_hmac_starts().
0 => SHA-512, else SHA-384
Definition at line 63 of file sha512.h.
Referenced by sha512_finish(), sha512_hmac_finish(), sha512_hmac_reset(), and sha512_starts().
unsigned char sha512_context::opad[128] |
HMAC: outer padding
Definition at line 62 of file sha512.h.
Referenced by sha512_hmac_finish(), and sha512_hmac_starts().
uint64_t sha512_context::state[8] |
intermediate digest state
Definition at line 58 of file sha512.h.
Referenced by sha512_finish(), sha512_process(), sha512_starts(), and ssl_calc_finished_tls_sha384().
uint64_t sha512_context::total[2] |
number of bytes processed
Definition at line 57 of file sha512.h.
Referenced by sha512_finish(), sha512_starts(), and sha512_update().