HashPinWithSalts
function · net · orchestration
- Address
0x5b31e0· 108 bytes, up to0x5b324b- Signature
void __fastcall (const uint8_t *pin_salt, const uint8_t *client_salt, const char *pin, uint8_t *out)- Meaning
- Writes SHA1(client salt, SHA1(PIN salt, PIN text)) into out, both salts 16 bytes
- Confidence
- verified, proof one
- Finding
- net/logonlink#pin-proof
- Test
net::checksum_proof
Finding: Pin proof in net: logon link
0x5b3120(count, positions) turns the pin positions into ASCII digits, seeds a local random pool with the clock, draws a 16-byte client salt into +0x1c8, stores SHA-1(client salt ‖ SHA-1(server salt ‖ digits)) at +0x1d8, and reports state 9. The logon proof sends the salt and the hash when the flag at +0x1ac is set, taking their addresses from 0x5b1f10.
The derivation is in the doc.
Callers 1
- ComputePinProof net
Callees 4
- Sha1Init net
- Sha1Update net
- Sha1UpdateString net
- Sha1Final net
Calls and jumps by a bare address, from tables/calls.tsv.