1 #ifndef _IPXE_MSCHAPV2_H 2 #define _IPXE_MSCHAPV2_H uint8_t flags
Flags, must be zero.
struct mschapv2_challenge __attribute__((packed))
uint8_t reserved[8]
Reserved, must be zero.
void mschapv2_auth(const char *username, const char *password, const struct mschapv2_challenge *challenge, const struct mschapv2_response *response, struct mschapv2_auth *auth)
Calculate MS-CHAPv2 authenticator response.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
An MS-CHAPv2 challenge response.
static struct dynamic_item password
struct mschapv2_nt_response nt
NT response.
An MS-CHAPv2 authenticator response.
static struct dynamic_item username
void mschapv2_response(const char *username, const char *password, const struct mschapv2_challenge *challenge, const struct mschapv2_challenge *peer, struct mschapv2_response *response)
Calculate MS-CHAPv2 challenge response.
struct mschapv2_challenge peer
Peer challenge.
uint8_t block[3][8]
DES-encrypted blocks.
struct mschapv2_challenge peer
Peer challenge.
char wtf[42]
Authenticator response string.
An MS-CHAPv2 NT response.