iPXE
Macros
EAPOL-Key Info field bits

Macros

#define EAPOL_KEY_INFO_VERSION   0x0007
 Key descriptor version, indicating WPA or WPA2. More...
 
#define EAPOL_KEY_INFO_TYPE   0x0008
 Key type bit, indicating pairwise or group. More...
 
#define EAPOL_KEY_INFO_INSTALL   0x0040
 Key install bit; set on message 3 except when legacy hacks are used. More...
 
#define EAPOL_KEY_INFO_KEY_ACK   0x0080
 Key ACK bit; set when a response is required, on all messages except #4. More...
 
#define EAPOL_KEY_INFO_KEY_MIC   0x0100
 Key MIC bit; set when the MIC field is valid, on messages 3 and 4. More...
 
#define EAPOL_KEY_INFO_SECURE   0x0200
 Secure bit; set when both sides have both keys, on messages 3 and 4. More...
 
#define EAPOL_KEY_INFO_ERROR   0x0400
 Error bit; set on a MIC failure for TKIP. More...
 
#define EAPOL_KEY_INFO_REQUEST   0x0800
 Request bit; set when authentication is initiated by the Peer (unusual) More...
 
#define EAPOL_KEY_INFO_KEY_ENC   0x1000
 Key Encrypted bit; set when the Key Data field is encrypted. More...
 
#define EAPOL_KEY_INFO_SMC_MESS   0x2000
 SMC Message bit; set when this frame is part of an IBSS SMK handshake. More...
 
#define EAPOL_KEY_VERSION_WPA   1
 Key descriptor version field value for WPA (TKIP) More...
 
#define EAPOL_KEY_VERSION_WPA2   2
 Key descriptor version field value for WPA2 (CCMP) More...
 
#define EAPOL_KEY_TYPE_PTK   0x0008
 Key type field value for a PTK (pairwise) key handshake. More...
 
#define EAPOL_KEY_TYPE_GTK   0x0000
 Key type field value for a GTK (group) key handshake. More...
 

Detailed Description

Macro Definition Documentation

◆ EAPOL_KEY_INFO_VERSION

#define EAPOL_KEY_INFO_VERSION   0x0007

Key descriptor version, indicating WPA or WPA2.

Definition at line 47 of file wpa.h.

◆ EAPOL_KEY_INFO_TYPE

#define EAPOL_KEY_INFO_TYPE   0x0008

Key type bit, indicating pairwise or group.

Definition at line 50 of file wpa.h.

◆ EAPOL_KEY_INFO_INSTALL

#define EAPOL_KEY_INFO_INSTALL   0x0040

Key install bit; set on message 3 except when legacy hacks are used.

Definition at line 53 of file wpa.h.

◆ EAPOL_KEY_INFO_KEY_ACK

#define EAPOL_KEY_INFO_KEY_ACK   0x0080

Key ACK bit; set when a response is required, on all messages except #4.

Definition at line 56 of file wpa.h.

◆ EAPOL_KEY_INFO_KEY_MIC

#define EAPOL_KEY_INFO_KEY_MIC   0x0100

Key MIC bit; set when the MIC field is valid, on messages 3 and 4.

Definition at line 59 of file wpa.h.

◆ EAPOL_KEY_INFO_SECURE

#define EAPOL_KEY_INFO_SECURE   0x0200

Secure bit; set when both sides have both keys, on messages 3 and 4.

Definition at line 62 of file wpa.h.

◆ EAPOL_KEY_INFO_ERROR

#define EAPOL_KEY_INFO_ERROR   0x0400

Error bit; set on a MIC failure for TKIP.

Definition at line 65 of file wpa.h.

◆ EAPOL_KEY_INFO_REQUEST

#define EAPOL_KEY_INFO_REQUEST   0x0800

Request bit; set when authentication is initiated by the Peer (unusual)

Definition at line 68 of file wpa.h.

◆ EAPOL_KEY_INFO_KEY_ENC

#define EAPOL_KEY_INFO_KEY_ENC   0x1000

Key Encrypted bit; set when the Key Data field is encrypted.

Definition at line 71 of file wpa.h.

◆ EAPOL_KEY_INFO_SMC_MESS

#define EAPOL_KEY_INFO_SMC_MESS   0x2000

SMC Message bit; set when this frame is part of an IBSS SMK handshake.

Definition at line 74 of file wpa.h.

◆ EAPOL_KEY_VERSION_WPA

#define EAPOL_KEY_VERSION_WPA   1

Key descriptor version field value for WPA (TKIP)

Definition at line 78 of file wpa.h.

◆ EAPOL_KEY_VERSION_WPA2

#define EAPOL_KEY_VERSION_WPA2   2

Key descriptor version field value for WPA2 (CCMP)

Definition at line 81 of file wpa.h.

◆ EAPOL_KEY_TYPE_PTK

#define EAPOL_KEY_TYPE_PTK   0x0008

Key type field value for a PTK (pairwise) key handshake.

Definition at line 84 of file wpa.h.

◆ EAPOL_KEY_TYPE_GTK

#define EAPOL_KEY_TYPE_GTK   0x0000

Key type field value for a GTK (group) key handshake.

Definition at line 87 of file wpa.h.