SHA1_Init
function · net · orchestration
- Address
0x5d1db0· 43 bytes, up to0x5d1dda- Signature
void __thiscall (SHA1_CTX *this)- Meaning
- Sets a SHA-1 context to the standard initial state words and a zero bit count
- 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 10
- RealmConnection::HandleAuthChallenge net
- ServerLink::CmdGruntAuthChallenge net
- HashCdKeyProof net
- ClientLink::SendProof net
- SeedRandomPool net
- DrawRandomPoolBytes net
- Srp6InterleaveSessionKey net
- Srp6MakeVerifier net
- Srp6SetCredentials net
- Srp6ClientComputeProof net
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.