benilla-re systems structs docs

Sha1Transform

function · net · primitive

Address
0x5d1420 · 1558 bytes, up to 0x5d1a35
Signature
void __fastcall (uint32_t *state, const uint8_t *block)
Meaning
Runs the SHA-1 compression of one 64-byte block into five state words
Confidence
inferred
Finding
net/crypto#sha-1-first-compression
Test
net::checksum_proof, net::hmac_sha1, net::sha1_family_a

Finding: SHA-1 first compression in net: crypto

The compression 0x5d1420 copies the block big-endian into a local array of 80 words and expands it, so the caller's block is read and not written, unlike 0x5d1ec0. Its code carries the four round constants 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc and 0xca62c1d6, each in five instructions. The rounds themselves are not read.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.