Key descriptor element types


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 Documentation

#define WPA_GTK_KID   0x03

Mask for Key ID in wpa_kde_gtk::id field.

Definition at line 434 of file wpa.h.

#define WPA_GTK_TXBIT   0x04

Mask for Tx bit in wpa_kde_gtk::id field.

Definition at line 437 of file wpa.h.

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

KDE type for a MAC address.

Definition at line 444 of file wpa.h.

#define WPA_KDE_PMKID   _MKOUI ( 0x00, 0x0F, 0xAC, 0x04 )

KDE type for a PMKID.

Definition at line 447 of file wpa.h.

Referenced by wpa_handle_1_of_4().

#define WPA_KDE_NONCE   _MKOUI ( 0x00, 0x0F, 0xAC, 0x06 )

KDE type for a nonce.

Definition at line 450 of file wpa.h.

#define WPA_KDE_LIFETIME   _MKOUI ( 0x00, 0x0F, 0xAC, 0x07 )

KDE type for a lifetime value.

Definition at line 453 of file wpa.h.


Variable Documentation

struct wpa_kde packed

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.


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1