iPXE
mschapv2_challenge_hash Union Reference

MS-CHAPv2 challenge hash. More...

Data Fields

uint8_t sha1 [SHA1_DIGEST_SIZE]
 SHA-1 digest.
uint8_t des [DES_BLOCKSIZE]
 DES plaintext block.

Detailed Description

MS-CHAPv2 challenge hash.

MS-CHAPv2 calculates the SHA-1 digest of the peer challenge, the authenticator challenge, and the username, and then uses only the first 8 bytes of the result (as a DES plaintext block).

Definition at line 67 of file mschapv2.c.

Field Documentation

◆ sha1

uint8_t mschapv2_challenge_hash::sha1[SHA1_DIGEST_SIZE]

SHA-1 digest.

Definition at line 69 of file mschapv2.c.

Referenced by mschapv2_challenge_hash().

◆ des

uint8_t mschapv2_challenge_hash::des[DES_BLOCKSIZE]

DES plaintext block.

Definition at line 71 of file mschapv2.c.

Referenced by mschapv2_auth(), mschapv2_challenge_hash(), and mschapv2_challenge_response().


The documentation for this union was generated from the following file: