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] |
|
inline |
Definition at line 91 of file rom_hash.cc.
References LeftRotate().
Referenced by LeftRotate(), and 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().

| void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Init | ( | Sha1State & | state | ) |
Definition at line 137 of file rom_hash.cc.
References yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::buf_len, yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::h, Sha1Init(), and yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::total_bytes.
Referenced by Sha1Init().

| void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Update | ( | Sha1State & | state, |
| const uint8_t * | data, | ||
| size_t | len ) |
Definition at line 147 of file rom_hash.cc.
References yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::buf, yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::buf_len, Sha1ProcessBlock(), Sha1Update(), and yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::total_bytes.
Referenced by Sha1Final(), and Sha1Update().

| void yaze::util::anonymous_namespace{rom_hash.cc}::Sha1Final | ( | Sha1State & | state, |
| uint8_t | digest[20] ) |
Definition at line 172 of file rom_hash.cc.
References yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::buf_len, yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::h, Sha1Final(), Sha1Update(), and yaze::util::anonymous_namespace{rom_hash.cc}::Sha1State::total_bytes.
Referenced by Sha1Final().

|
constexpr |
Definition at line 15 of file rom_hash.cc.