iPXE
Data Fields
mschapv2_context Union Reference

MS-CHAPv2 context block. More...

Data Fields

uint8_t sha1 [SHA1_CTX_SIZE]
 SHA-1 digest context. More...
 
uint8_t md4 [MD4_CTX_SIZE]
 MD4 digest context. More...
 
uint8_t des [DES_CTX_SIZE]
 DES cipher context. More...
 

Detailed Description

MS-CHAPv2 context block.

For no particularly discernible reason, MS-CHAPv2 uses two different digest algorithms and one block cipher. The uses do not overlap, so share the context storage between these to reduce stack usage.

Definition at line 50 of file mschapv2.c.

Field Documentation

◆ sha1

uint8_t mschapv2_context::sha1[SHA1_CTX_SIZE]

SHA-1 digest context.

Definition at line 52 of file mschapv2.c.

◆ md4

uint8_t mschapv2_context::md4[MD4_CTX_SIZE]

MD4 digest context.

Definition at line 54 of file mschapv2.c.

◆ des

uint8_t mschapv2_context::des[DES_CTX_SIZE]

DES cipher context.

Definition at line 56 of file mschapv2.c.


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