The Pedigree Project  0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SHA1 Class Reference
+ Collaboration diagram for SHA1:

Public Member Functions

void Reset ()
 
bool Result (unsigned *message_digest_array)
 
void Input (const unsigned char *message_array, unsigned length)
 
void Input (const char *message_array, unsigned length)
 
void Input (unsigned char message_element)
 
void Input (char message_element)
 
SHA1operator<< (const char *message_array)
 
SHA1operator<< (const unsigned char *message_array)
 
SHA1operator<< (const char message_element)
 
SHA1operator<< (const unsigned char message_element)
 

Private Member Functions

void ProcessMessageBlock ()
 
void PadMessage ()
 
unsigned CircularShift (int bits, unsigned word)
 

Private Attributes

uint32_t H [5]
 
size_t Length_Low
 
size_t Length_High
 
unsigned char Message_Block [64]
 
int Message_Block_Index
 
bool Computed
 
bool Corrupted
 

Detailed Description

Definition at line 48 of file system/include/pedigree/kernel/utilities/sha1/sha1.h.


The documentation for this class was generated from the following files: