SHA1_Transform
function · net · primitive
- Address
0x5d1ec0· 5097 bytes, up to0x5d32a8- Signature
void __fastcall (uint32_t *state, uint32_t *block)- Meaning
- Compresses one 64-byte big-endian block into the five SHA-1 state words, overwriting the block with schedule words
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- net/crypto#sha-1-overwrites-its-input
- Test
net::sha1_family_b,net::sha1_prng_next,net::sha1_prng_seed,net::srp6_client_session,net::srp6_credential_hash,net::srp6_file_hmac,net::srp6_interleave
Finding: SHA-1 overwrites its input in net: crypto
The client's SHA-1 (0x5d1db0 family: init, update, transform, final) keeps its 16-word
message schedule in the 64-byte block it is given, so a transformed block is left holding
schedule words. The update hands the transform the caller's own bytes for every full 64-byte
block that follows the context's buffered bytes; those spans of the caller's buffer are
overwritten. A short input, or the part copied into the context's buffer, is not. The hash
itself is SHA-1 by its constants; its rounds are not recorded here.
The derivation is in the doc.
Callers 1
- SHA1_Update net
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.