|
wpa_supplicant / hostapd
2.5
|
Internal WPA/RSN supplicant state machine definitions. More...
#include "utils/list.h"Go to the source code of this file.
Data Structures | |
| struct | wpa_sm |
| Internal WPA state machine data. More... | |
Functions | |
| void | wpa_eapol_key_send (struct wpa_sm *sm, const u8 *kck, size_t kck_len, int ver, const u8 *dest, u16 proto, u8 *msg, size_t msg_len, u8 *key_mic) |
| Send WPA/RSN EAPOL-Key message. More... | |
| int | wpa_supplicant_send_2_of_4 (struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) |
| Send message 2 of WPA/RSN 4-Way Handshake. More... | |
| int | wpa_supplicant_send_4_of_4 (struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) |
| Send message 4 of WPA/RSN 4-Way Handshake. More... | |
| int | wpa_derive_ptk_ft (struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) |
| void | wpa_tdls_assoc (struct wpa_sm *sm) |
| void | wpa_tdls_disassoc (struct wpa_sm *sm) |
Internal WPA/RSN supplicant state machine definitions.
| void wpa_eapol_key_send | ( | struct wpa_sm * | sm, |
| const u8 * | kck, | ||
| size_t | kck_len, | ||
| int | ver, | ||
| const u8 * | dest, | ||
| u16 | proto, | ||
| u8 * | msg, | ||
| size_t | msg_len, | ||
| u8 * | key_mic | ||
| ) |
Send WPA/RSN EAPOL-Key message.
| sm | Pointer to WPA state machine data from wpa_sm_init() |
| kck | Key Confirmation Key (KCK, part of PTK) |
| kck_len | KCK length in octets |
| ver | Version field from Key Info |
| dest | Destination address for the frame |
| proto | Ethertype (usually ETH_P_EAPOL) |
| msg | EAPOL-Key message |
| msg_len | Length of message |
| key_mic | Pointer to the buffer to which the EAPOL-Key MIC is written |
| int wpa_supplicant_send_2_of_4 | ( | struct wpa_sm * | sm, |
| const unsigned char * | dst, | ||
| const struct wpa_eapol_key * | key, | ||
| int | ver, | ||
| const u8 * | nonce, | ||
| const u8 * | wpa_ie, | ||
| size_t | wpa_ie_len, | ||
| struct wpa_ptk * | ptk | ||
| ) |
Send message 2 of WPA/RSN 4-Way Handshake.
| sm | Pointer to WPA state machine data from wpa_sm_init() |
| dst | Destination address for the frame |
| key | Pointer to the EAPOL-Key frame header |
| ver | Version bits from EAPOL-Key Key Info |
| nonce | Nonce value for the EAPOL-Key frame |
| wpa_ie | WPA/RSN IE |
| wpa_ie_len | Length of the WPA/RSN IE |
| ptk | PTK to use for keyed hash and encryption |
| int wpa_supplicant_send_4_of_4 | ( | struct wpa_sm * | sm, |
| const unsigned char * | dst, | ||
| const struct wpa_eapol_key * | key, | ||
| u16 | ver, | ||
| u16 | key_info, | ||
| struct wpa_ptk * | ptk | ||
| ) |
Send message 4 of WPA/RSN 4-Way Handshake.
| sm | Pointer to WPA state machine data from wpa_sm_init() |
| dst | Destination address for the frame |
| key | Pointer to the EAPOL-Key frame header |
| ver | Version bits from EAPOL-Key Key Info |
| key_info | Key Info |
| ptk | PTK to use for keyed hash and encryption |
1.8.6