Data Structures | |
| struct | wpa_kde_gtk_encap |
| Payload structure of the GTK-encapsulating KDE. More... | |
| struct | wpa_kde |
| Any key descriptor element type. More... | |
Defines | |
| #define | WPA_GTK_KID 0x03 |
| Mask for Key ID in wpa_kde_gtk::id field. | |
| #define | WPA_GTK_TXBIT 0x04 |
| Mask for Tx bit in wpa_kde_gtk::id field. | |
| #define | WPA_KDE_GTK _MKOUI ( 0x00, 0x0F, 0xAC, 0x01 ) |
| KDE type for an encapsulated Group Transient Key (requires encryption). | |
| #define | WPA_KDE_MAC _MKOUI ( 0x00, 0x0F, 0xAC, 0x03 ) |
| KDE type for a MAC address. | |
| #define | WPA_KDE_PMKID _MKOUI ( 0x00, 0x0F, 0xAC, 0x04 ) |
| KDE type for a PMKID. | |
| #define | WPA_KDE_NONCE _MKOUI ( 0x00, 0x0F, 0xAC, 0x06 ) |
| KDE type for a nonce. | |
| #define | WPA_KDE_LIFETIME _MKOUI ( 0x00, 0x0F, 0xAC, 0x07 ) |
| KDE type for a lifetime value. | |
Variables | |
| struct eapol_key_pkt | packed |
| An EAPOL-Key packet. | |
| #define WPA_GTK_KID 0x03 |
| #define WPA_GTK_TXBIT 0x04 |
| #define WPA_KDE_GTK _MKOUI ( 0x00, 0x0F, 0xAC, 0x01 ) |
KDE type for an encapsulated Group Transient Key (requires encryption).
Definition at line 441 of file wpa.h.
Referenced by wpa_maybe_install_gtk().
| #define WPA_KDE_MAC _MKOUI ( 0x00, 0x0F, 0xAC, 0x03 ) |
| #define WPA_KDE_PMKID _MKOUI ( 0x00, 0x0F, 0xAC, 0x04 ) |
| #define WPA_KDE_NONCE _MKOUI ( 0x00, 0x0F, 0xAC, 0x06 ) |
| #define WPA_KDE_LIFETIME _MKOUI ( 0x00, 0x0F, 0xAC, 0x07 ) |
An EAPOL-Key packet.
Any key descriptor element type.
Payload structure of the GTK-encapsulating KDE.
Structure of the Group Transient Key.
Structure of the Pairwise Transient Key.
Structure of the Temporal Key for TKIP encryption.
These are used for the WPA 4-Way Handshake, whether or not prior authentication has been performed using EAP.
On LANs, an eapol_key_pkt is always encapsulated in the data field of an eapol_frame, with the frame's type code set to EAPOL_TYPE_KEY.
Unlike 802.11 frame headers, the fields in this structure are stored in big-endian!
This does not include the IE type, length, or OUI bytes, which are generic to all KDEs.
KDEs follow the 802.11 information element format of a type byte (in this case "vendor-specific", with the requisite OUI+subtype after length) and a length byte whose value does not include the length of the type and length bytes.
1.5.7.1