The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
eap_mschapv2.h
Go to the documentation of this file.
1#pragma once
2RCSIDH(eap_mschapv2_h, "$Id: 3627859f77150f93f893cf1b7d8635822d8c99a1 $")
3
4#include <freeradius-devel/eap/base.h>
5
6/*
7 * draft-kamath-pppext-eap-mschapv2-00.txt says:
8 *
9 * Supplicant FreeRADIUS
10 * <-- challenge
11 * response -->
12 * <-- success
13 * success -->
14 *
15 * But what we often see is:
16 *
17 * Supplicant FreeRADIUS
18 * <-- challenge
19 * response -->
20 * <-- success
21 * ack -->
22 */
23#define FR_EAP_MSCHAPV2_ACK 0
24#define FR_EAP_MSCHAPV2_CHALLENGE 1
25#define FR_EAP_MSCHAPV2_RESPONSE 2
26#define FR_EAP_MSCHAPV2_SUCCESS 3
27#define FR_EAP_MSCHAPV2_FAILURE 4
28#define FR_EAP_MSCHAPV2_CHGPASSWD 7
29#define FR_EAP_MSCHAPV2_MAX_CODES 7
30
31#define MSCHAPV2_HEADER_LEN 5
32#define MSCHAPV2_CHALLENGE_LEN 16
33#define MSCHAPV2_RESPONSE_LEN 50
34
41
#define RCSIDH(h, id)
Definition build.h:484
#define MSCHAPV2_CHALLENGE_LEN
fr_pair_list_t reply
fr_pair_list_t mppe_keys
unsigned char uint8_t