sha4_context Struct Reference

SHA-512 context structure. More...

#include <sha4.h>

Data Fields

unsigned int64 total [2]
unsigned int64 state [8]
unsigned char buffer [128]
unsigned char ipad [128]
unsigned char opad [128]
int is384

Detailed Description

SHA-512 context structure.

Definition at line 18 of file sha4.h.


Field Documentation

unsigned char sha4_context::buffer[128]

data block being processed

Definition at line 22 of file sha4.h.

Referenced by sha4_update().

unsigned char sha4_context::ipad[128]

HMAC: inner padding

Definition at line 24 of file sha4.h.

Referenced by sha4_hmac_starts().

0 => SHA-512, else SHA-384

Definition at line 26 of file sha4.h.

Referenced by sha4_finish(), sha4_hmac_finish(), and sha4_starts().

unsigned char sha4_context::opad[128]

HMAC: outer padding

Definition at line 25 of file sha4.h.

Referenced by sha4_hmac_finish(), and sha4_hmac_starts().

unsigned int64 sha4_context::state[8]

intermediate digest state

Definition at line 21 of file sha4.h.

Referenced by sha4_finish(), sha4_process(), and sha4_starts().

unsigned int64 sha4_context::total[2]

number of bytes processed

Definition at line 20 of file sha4.h.

Referenced by sha4_finish(), sha4_starts(), and sha4_update().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 28 15:15:30 2010 for Mobile-C by  doxygen 1.6.3