iPXE
Data Fields
mschapv2_challenge_hash Union Reference

MS-CHAPv2 challenge hash. More...

Data Fields

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

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 66 of file mschapv2.c.

Field Documentation

◆ sha1

uint8_t mschapv2_challenge_hash::sha1[SHA1_DIGEST_SIZE]

SHA-1 digest.

Definition at line 68 of file mschapv2.c.

Referenced by mschapv2_challenge_hash().

◆ des

uint8_t mschapv2_challenge_hash::des[DES_BLOCKSIZE]

DES plaintext block.

Definition at line 70 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: