sha4_context Struct Reference

SHA-512 context structure. More...

#include <sha4.h>


Data Fields

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


Detailed Description

SHA-512 context structure.

Definition at line 22 of file sha4.h.


Field Documentation

uint64 sha4_context::total[2]

number of bytes processed

Definition at line 24 of file sha4.h.

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

uint64 sha4_context::state[8]

intermediate digest state

Definition at line 25 of file sha4.h.

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

unsigned char sha4_context::buffer[128]

data block being processed

Definition at line 26 of file sha4.h.

Referenced by sha4_update().

unsigned char sha4_context::ipad[64]

HMAC: inner padding

Definition at line 27 of file sha4.h.

Referenced by sha4_hmac_starts().

unsigned char sha4_context::opad[64]

HMAC: outer padding

Definition at line 28 of file sha4.h.

Referenced by sha4_hmac_finish(), and sha4_hmac_starts().

int sha4_context::is384

0 if SHA-512, 1 if SHA-384

Definition at line 29 of file sha4.h.

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


The documentation for this struct was generated from the following file:
Generated on Fri May 16 14:49:58 2008 for Mobile-C by  doxygen 1.5.4