benilla-re systems structs docs

ClientLink::CmdAuthLogonChallenge

function · net · primitive

Address
0x5baa20 · 642 bytes, up to 0x5baca1
Signature
uint32_t __thiscall (ClientLink *this, CDataStore *message)
Meaning
Parses a logon challenge reply, runs the SRP-6 client step on B, g, N and salt, and reports to the link's owner
Confidence
verified, proof one
Finding
net/login#challenge-reply
Test
net::grunt_logon_challenge_reply

Finding: Challenge reply in net: login

The reply to 0x00 is a zero byte, then a result. A non-zero result is reported to the logon object (results 16 and above as 0xff). Result 0 carries B (32 bytes), g with a one-byte length, N with a one-byte length, the salt (32), a 16-byte checksum salt and a security byte; a non-zero security byte adds a dword and 16 bytes. The client keeps B, runs SRP6, and on success reports the security fields and then the checksum salt; a failed SRP6 reports result 5. A non-zero first byte is malformed.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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