RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
RoR::CSHA1 Class Reference

#include <SHA1.h>

+ Collaboration diagram for RoR::CSHA1:

Public Member Functions

 CSHA1 ()
 
 ~CSHA1 ()
 
void Reset ()
 
void UpdateHash (uint8_t *data, uint32_t len)
 
void Final ()
 
std::string ReportHash ()
 
void GetHash (uint8_t *puDest)
 

Data Fields

uint32_t m_state [5]
 
uint32_t m_count [2]
 
uint32_t __reserved1 [1]
 
uint8_t m_buffer [64]
 
uint8_t m_digest [20]
 
uint32_t __reserved2 [3]
 

Private Member Functions

void Transform (uint32_t *state, uint8_t *buffer)
 

Private Attributes

uint8_t m_workspace [64]
 
SHA1_WORKSPACE_BLOCKm_block
 

Detailed Description

Definition at line 84 of file SHA1.h.

Constructor & Destructor Documentation

◆ CSHA1()

CSHA1::CSHA1 ( )

Definition at line 69 of file SHA1.cpp.

+ Here is the call graph for this function:

◆ ~CSHA1()

CSHA1::~CSHA1 ( )

Definition at line 82 of file SHA1.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Final()

void CSHA1::Final ( )

Definition at line 168 of file SHA1.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHash()

void CSHA1::GetHash ( uint8_t *  puDest)

Definition at line 219 of file SHA1.cpp.

◆ ReportHash()

std::string CSHA1::ReportHash ( )

Definition at line 202 of file SHA1.cpp.

+ Here is the caller graph for this function:

◆ Reset()

void CSHA1::Reset ( )

Definition at line 87 of file SHA1.cpp.

+ Here is the caller graph for this function:

◆ Transform()

void CSHA1::Transform ( uint32_t *  state,
uint8_t *  buffer 
)
private

Definition at line 100 of file SHA1.cpp.

+ Here is the caller graph for this function:

◆ UpdateHash()

void CSHA1::UpdateHash ( uint8_t *  data,
uint32_t  len 
)

Definition at line 143 of file SHA1.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ __reserved1

uint32_t RoR::CSHA1::__reserved1[1]

Definition at line 94 of file SHA1.h.

◆ __reserved2

uint32_t RoR::CSHA1::__reserved2[3]

Definition at line 97 of file SHA1.h.

◆ m_block

SHA1_WORKSPACE_BLOCK* RoR::CSHA1::m_block
private

Definition at line 119 of file SHA1.h.

◆ m_buffer

uint8_t RoR::CSHA1::m_buffer[64]

Definition at line 95 of file SHA1.h.

◆ m_count

uint32_t RoR::CSHA1::m_count[2]

Definition at line 93 of file SHA1.h.

◆ m_digest

uint8_t RoR::CSHA1::m_digest[20]

Definition at line 96 of file SHA1.h.

◆ m_state

uint32_t RoR::CSHA1::m_state[5]

Definition at line 92 of file SHA1.h.

◆ m_workspace

uint8_t RoR::CSHA1::m_workspace[64]
private

Definition at line 118 of file SHA1.h.


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