25 enum { EAP_CODE_REQUEST = 1, EAP_CODE_RESPONSE = 2, EAP_CODE_SUCCESS = 3,
26 EAP_CODE_FAILURE = 4, EAP_CODE_INITIATE = 5, EAP_CODE_FINISH = 6 };
33 EAP_ERP_TYPE_REAUTH_START = 1,
34 EAP_ERP_TYPE_REAUTH = 2,
38 enum eap_erp_tlv_type {
39 EAP_ERP_TLV_KEYNAME_NAI = 1,
40 EAP_ERP_TV_RRK_LIFETIME = 2,
41 EAP_ERP_TV_RMSK_LIFETIME = 3,
42 EAP_ERP_TLV_DOMAIN_NAME = 4,
43 EAP_ERP_TLV_CRYPTOSUITES = 5,
44 EAP_ERP_TLV_AUTHORIZATION_INDICATION = 6,
45 EAP_ERP_TLV_CALLED_STATION_ID = 128,
46 EAP_ERP_TLV_CALLING_STATION_ID = 129,
47 EAP_ERP_TLV_NAS_IDENTIFIER = 130,
48 EAP_ERP_TLV_NAS_IP_ADDRESS = 131,
49 EAP_ERP_TLV_NAS_IPV6_ADDRESS = 132,
53 enum eap_erp_cryptosuite {
54 EAP_ERP_CS_HMAC_SHA256_64 = 1,
55 EAP_ERP_CS_HMAC_SHA256_128 = 2,
56 EAP_ERP_CS_HMAC_SHA256_256 = 3,
65 EAP_TYPE_IDENTITY = 1 ,
66 EAP_TYPE_NOTIFICATION = 2 ,
77 EAP_TYPE_MSCHAPV2 = 26 ,
87 EAP_TYPE_AKA_PRIME = 50 ,
91 EAP_TYPE_EXPANDED = 254
98 EAP_VENDOR_MICROSOFT = 0x000137 ,
99 EAP_VENDOR_WFA = 0x00372A ,
100 EAP_VENDOR_HOSTAP = 39068 ,
101 EAP_VENDOR_WFA_NEW = 40808
104 #define EAP_VENDOR_UNAUTH_TLS EAP_VENDOR_HOSTAP
105 #define EAP_VENDOR_TYPE_UNAUTH_TLS 1
107 #define EAP_VENDOR_WFA_UNAUTH_TLS 13
109 #define EAP_MSK_LEN 64
110 #define EAP_EMSK_LEN 64
111 #define EAP_EMSK_NAME_LEN 8
112 #define ERP_MAX_KEY_LEN 64
Definition: eap_defs.h:14