iPXE
Defines
EAPOL-Key Info field bits

Defines

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

Define Documentation

#define EAPOL_KEY_INFO_VERSION   0x0007

Key descriptor version, indicating WPA or WPA2.

Definition at line 47 of file wpa.h.

Referenced by eapol_key_rx().

#define EAPOL_KEY_INFO_TYPE   0x0008

Key type bit, indicating pairwise or group.

Definition at line 50 of file wpa.h.

Referenced by eapol_key_rx(), and wpa_send_final().

#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.

Referenced by wpa_send_final().

#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.

Referenced by eapol_key_rx(), wpa_send_2_of_4(), and wpa_send_final().

#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.

Referenced by eapol_key_rx(), and wpa_send_2_of_4().

#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.

#define EAPOL_KEY_INFO_ERROR   0x0400

Error bit; set on a MIC failure for TKIP.

Definition at line 65 of file wpa.h.

#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.

#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.

Referenced by eapol_key_rx(), wpa_handle_1_of_2(), wpa_handle_3_of_4(), and wpa_send_final().

#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.

#define EAPOL_KEY_VERSION_WPA   1

Key descriptor version field value for WPA (TKIP)

Definition at line 78 of file wpa.h.

#define EAPOL_KEY_VERSION_WPA2   2

Key descriptor version field value for WPA2 (CCMP)

Definition at line 81 of file wpa.h.

#define EAPOL_KEY_TYPE_PTK   0x0008

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

Definition at line 84 of file wpa.h.

Referenced by eapol_key_rx().

#define EAPOL_KEY_TYPE_GTK   0x0000

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

Definition at line 87 of file wpa.h.

Referenced by eapol_key_rx().