yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::util::anonymous_namespace{rom_hash.cc} Namespace Reference

Classes

struct  Sha1State
 

Functions

uint32_t LeftRotate (uint32_t val, unsigned bits)
 
void Sha1ProcessBlock (Sha1State &state, const uint8_t block[64])
 
void Sha1Init (Sha1State &state)
 
void Sha1Update (Sha1State &state, const uint8_t *data, size_t len)
 
void Sha1Final (Sha1State &state, uint8_t digest[20])
 

Variables

constexpr uint32_t kCrc32Table [256]
 

Function Documentation

◆ LeftRotate()

uint32_t yaze::util::anonymous_namespace{rom_hash.cc}::LeftRotate ( uint32_t val,
unsigned bits )
inline

Definition at line 91 of file rom_hash.cc.

References LeftRotate().

Referenced by LeftRotate(), and Sha1ProcessBlock().

Here is the call graph for this function:

◆ Sha1ProcessBlock()

void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1ProcessBlock ( Sha1State & state,
const uint8_t block[64] )

Definition at line 95 of file rom_hash.cc.

References yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::h, LeftRotate(), and Sha1ProcessBlock().

Referenced by Sha1ProcessBlock(), and Sha1Update().

Here is the call graph for this function:

◆ Sha1Init()

void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Init ( Sha1State & state)

◆ Sha1Update()

void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Update ( Sha1State & state,
const uint8_t * data,
size_t len )

◆ Sha1Final()

void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Final ( Sha1State & state,
uint8_t digest[20] )

Variable Documentation

◆ kCrc32Table

constexpr uint32_t yaze::util::anonymous_namespace{rom_hash.cc}::kCrc32Table[256]
constexpr

Definition at line 15 of file rom_hash.cc.