| /src/external/bsd/wpa/dist/src/eapol_auth/ |
| eapol_auth_sm.c | 2 * IEEE 802.1X-2004 Authenticator - EAPOL state machine 27 /* EAPOL state machines are described in IEEE Std 802.1X-2004, Chap. 8.2 */ 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 38 #define abortAuth() sm->eapol->cb.abort_auth(sm->eapol->conf.ctx, sm->sta) 39 #define txKey() sm->eapol->cb.tx_key(sm->eapol->conf.ctx, sm->sta 905 struct eapol_authenticator *eapol = sm->eapol; local 1236 struct eapol_authenticator *eapol; local [all...] |
| eapol_auth_sm.h | 2 * IEEE 802.1X-2004 Authenticator - EAPOL state machine 68 void eapol_auth_deinit(struct eapol_authenticator *eapol); 70 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
|
| eapol_auth_sm_i.h | 2 * IEEE 802.1X-2004 Authenticator - EAPOL state machine (internal definitions) 25 * struct eapol_authenticator - Global EAPOL authenticator data 147 /* EAPOL/AAA <-> EAP full authenticator interface */ 167 struct eapol_authenticator *eapol; member in struct:eapol_state_machine
|
| /src/external/bsd/wpa/dist/src/ap/ |
| pmksa_cache_auth.c | 145 struct eapol_state_machine *eapol) 149 if (eapol == NULL) 152 if (eapol->identity) { 153 entry->identity = os_malloc(eapol->identity_len); 155 entry->identity_len = eapol->identity_len; 156 os_memcpy(entry->identity, eapol->identity, 157 eapol->identity_len); 161 if (eapol->radius_cui) 162 entry->cui = wpabuf_dup(eapol->radius_cui); 165 radius_copy_class(&entry->radius_class, &eapol->radius_class) [all...] |
| pmksa_cache_auth.h | 59 struct eapol_state_machine *eapol, int akmp); 64 struct eapol_state_machine *eapol, int akmp); 73 struct eapol_state_machine *eapol);
|
| ieee802_11_auth.h | 41 const u8 *eapol, size_t eapol_len);
|
| ieee802_11_auth.c | 51 u8 *eapol; member in struct:hostapd_acl_query_data 109 os_free(query->eapol); 184 if (query->eapol && 188 query->eapol, query->eapol_len)) { 189 wpa_printf(MSG_DEBUG, "Could not add FreeRADIUS-802.1X-EAPoL-Key-Msg"); 723 const u8 *eapol, size_t eapol_len) 737 if (eapol) { 738 query->eapol = os_memdup(eapol, eapol_len);
|
| ieee802_1x.c | 89 "EAPOL-TX " MACSTR " %s", 236 /* NTP timestamp did not increment from last EAPOL-Key frame; 268 "No eapKeyData available for encrypting and signing EAPOL-Key"); 297 wpa_printf(MSG_DEBUG, "IEEE 802.1X: Sending EAPOL-Key to " MACSTR 309 struct eapol_authenticator *eapol = hapd->eapol_auth; local 315 wpa_printf(MSG_DEBUG, "IEEE 802.1X: Sending EAPOL-Key(s) to " MACSTR, 325 if (eapol->default_wep_key) { 326 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, 327 eapol->default_wep_key, 351 * has ACKed EAPOL-Key frame * 2221 struct eapol_authenticator *eapol = hapd->eapol_auth; local 2259 struct eapol_authenticator *eapol = hapd->eapol_auth; local [all...] |
| wpa_auth.h | 372 const u8 *eapol, size_t eapol_len); 477 int session_timeout, struct eapol_state_machine *eapol); 481 struct eapol_state_machine *eapol);
|
| wpa_auth_glue.c | 556 wpa_msg(hapd->msg_ctx, MSG_INFO, "EAPOL-TX " MACSTR " %s", 738 wpa_msg(hapd->msg_ctx, MSG_INFO, "EAPOL-TX " MACSTR " %s", 1509 const u8 *eapol, size_t eapol_len) 1516 wpa_hexdump(MSG_DEBUG, "EAPOL", eapol, eapol_len); 1517 hostapd_acl_req_radius_psk(hapd, addr, key_mgmt, anonce, eapol,
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| eapol_test.c | 350 printf("WPA: EAPOL processing complete\n"); 372 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { 373 wpa_hexdump(MSG_DEBUG, "PMK from EAPOL", pmk, PMK_LEN); 381 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) { 382 wpa_hexdump(MSG_DEBUG, "LEAP PMK from EAPOL", pmk, 16); 399 sess_id = eapol_sm_get_session_id(e->wpa_s->eapol, &sess_id_len); 425 static void eapol_sm_cb(struct eapol_sm *eapol, enum eapol_supp_result result, 591 printf("Failed to allocate EAPOL context.\n"); 614 wpa_s->eapol = eapol_sm_init(ctx); 615 if (wpa_s->eapol == NULL) [all...] |
| wpas_kay.c | 281 sm = wpa_s->eapol; 289 "Failed to get MSK from EAPOL state machines"); 331 sid = eapol_sm_get_session_id(wpa_s->eapol, &sid_len);
|
| pasn_supplicant.c | 435 wpa_printf(MSG_DEBUG, "PASN: FILS: Initiating EAPOL"); 437 eapol_sm_notify_eap_success(pasn->eapol, false); 438 eapol_sm_notify_eap_fail(pasn->eapol, false); 439 eapol_sm_notify_portControl(pasn->eapol, Auto); 445 eapol_sm_notify_config(pasn->eapol, &ssid->eap, &eapol_conf); 619 pasn->eapol = wpa_s->eapol;
|
| wpas_glue.c | 2 * WPA Supplicant - Glue code to setup EAPOL and RSN modules 109 wpa_msg(wpa_s, MSG_INFO, "EAPOL-TX " MACSTR " %s", 136 * wpa_supplicant_eapol_send - Send IEEE 802.1X EAPOL packet to Authenticator 139 * @buf: EAPOL payload (after IEEE 802.1X header) 140 * @len: EAPOL payload length 143 * This function adds Ethernet and IEEE 802.1X header and sends the EAPOL frame 162 * EAPOL frames (mainly, EAPOL-Start) from EAPOL state 164 wpa_printf(MSG_DEBUG, "WPA: drop TX EAPOL in non-IEEE 802.1X [all...] |
| wpa_supplicant.c | 305 * wpa_supplicant_initiate_eapol - Configure EAPOL state machine 308 * This function is used to configure EAPOL state machine based on the selected 323 * per-BSSID EAPOL authentication. 325 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); 326 eapol_sm_notify_eap_success(wpa_s->eapol, true); 327 eapol_sm_notify_eap_fail(wpa_s->eapol, false); 332 eapol_sm_notify_eap_success(wpa_s->eapol, false); 333 eapol_sm_notify_eap_fail(wpa_s->eapol, false); 337 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); 339 eapol_sm_notify_portControl(wpa_s->eapol, Auto) [all...] |
| events.c | 309 eapol_sm_invalidate_cached_session(wpa_s->eapol); 397 eapol_sm_notify_portEnabled(wpa_s->eapol, false); 398 eapol_sm_notify_portValid(wpa_s->eapol, false); 402 eapol_sm_notify_eap_success(wpa_s->eapol, false); 406 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); 465 eapol_sm_notify_pmkid_attempt(wpa_s->eapol); 581 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); 4278 * of the SUCCESS state and eapSuccess cleared. Without this, EAPOL PAE 4285 eapol_sm_notify_portEnabled(wpa_s->eapol, false); 4286 eapol_sm_notify_portValid(wpa_s->eapol, false) [all...] |
| ctrl_iface_named_pipe.c | 341 eapol_sm_notify_ctrl_attached(wpa_s->eapol);
|
| ctrl_iface_udp.c | 360 eapol_sm_notify_ctrl_attached(wpa_s->eapol);
|
| /src/external/bsd/wpa/dist/src/rsn_supp/ |
| preauth.c | 84 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, 94 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 100 res = eapol_sm_get_key(eapol, pmk, 16); 115 "pre-auth EAPOL state machines"); 159 wpa_hexdump(MSG_MSGDUMP, "TX EAPOL (preauth)", msg, msglen); 173 * -2 on layer 2 packet initialization failure, -3 on EAPOL state machine 219 wpa_printf(MSG_WARNING, "Failed to allocate EAPOL context."); 237 wpa_printf(MSG_WARNING, "RSN: Failed to initialize EAPOL " 250 * preauth EAPOL-Start frame may end up being dropped due to race 531 "EAPOL state machines:\n") [all...] |
| wpa.h | 197 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 316 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol)
|
| wpa.c | 2 * WPA Supplicant - WPA state machine and EAPOL-Key processing 80 * wpa_eapol_key_send - Send WPA/RSN EAPOL-Key message 86 * @msg: EAPOL-Key message 88 * @key_mic: Pointer to the buffer to which the EAPOL-Key MIC is written 98 wpa_printf(MSG_DEBUG, "WPA: Send EAPOL-Key frame to " MACSTR 109 "EAPOL-Key destination address"); 114 ") as the destination for EAPOL-Key", 127 "WPA: Failed to generate EAPOL-Key version %d key_mgmt 0x%x MIC", 163 /* Update EAPOL header to include AES-SIV overhead */ 179 /* AES-SIV AAD from EAPOL protocol version field (inclusive) t [all...] |
| wpa_i.h | 45 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member in struct:wpa_sm
|
| /src/external/bsd/wpa/dist/src/eapol_supp/ |
| eapol_supp_sm.h | 2 * EAPOL supplicant state machines 20 * struct eapol_config - Per network configuration for EAPOL state machines 24 * accept_802_1x_keys - Accept IEEE 802.1X (non-WPA) EAPOL-Key frames 26 * This variable should be set to 1 when using EAPOL state machines 29 * process the EAPOL-Key frames. 36 * required_keys - Which EAPOL-Key packets are required 38 * This variable determines which EAPOL-Key packets are required before 82 * struct eapol_ctx - Global (for all networks) EAPOL state machine context 93 * This EAPOL state machine is used for IEEE 802.11i/RSN 99 * cb - Function to be called when EAPOL negotiation has been complete [all...] |
| /src/external/bsd/wpa/dist/src/pasn/ |
| pasn_common.h | 109 struct eapol_sm *eapol; member in struct:pasn_data
|
| pasn_initiator.c | 207 erp_msg = eapol_sm_build_erp_reauth_start(pasn->eapol); 398 eapol_sm_process_erp_finish(pasn->eapol, wpabuf_head(fils_wd), 404 if (eapol_sm_failed(pasn->eapol)) { 410 ret = eapol_sm_get_key(pasn->eapol, rmsk, rmsk_len); 414 ret = eapol_sm_get_key(pasn->eapol, rmsk, rmsk_len);
|