/external/wpa_supplicant_8/src/eapol_auth/ |
D | eapol_auth_sm.c | 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) 49 static void eapol_auth_logger(struct eapol_authenticator *eapol, in eapol_auth_logger() argument 53 if (eapol->cb.logger == NULL) in eapol_auth_logger() 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 59 static void eapol_auth_vlogger(struct eapol_authenticator *eapol, in eapol_auth_vlogger() argument 67 if (eapol->cb.logger == NULL) in eapol_auth_vlogger() 79 eapol_auth_logger(eapol, addr, level, format); in eapol_auth_vlogger() [all …]
|
D | eapol_auth_sm.h | 87 void eapol_auth_deinit(struct eapol_authenticator *eapol); 89 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
|
D | eapol_auth_sm_i.h | 167 struct eapol_authenticator *eapol; member
|
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 150 entry->identity = os_malloc(eapol->identity_len); in pmksa_cache_from_eapol_data() 152 entry->identity_len = eapol->identity_len; in pmksa_cache_from_eapol_data() 153 os_memcpy(entry->identity, eapol->identity, in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 159 entry->cui = wpabuf_dup(eapol->radius_cui); in pmksa_cache_from_eapol_data() 162 radius_copy_class(&entry->radius_class, &eapol->radius_class); in pmksa_cache_from_eapol_data() [all …]
|
D | pmksa_cache_auth.h | 54 struct eapol_state_machine *eapol, int akmp); 59 struct eapol_state_machine *eapol, int akmp); 68 struct eapol_state_machine *eapol);
|
D | ieee802_1x.c | 217 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_tx_key() local 233 if (eapol->default_wep_key) { in ieee802_1x_tx_key() 234 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, in ieee802_1x_tx_key() 235 eapol->default_wep_key, in ieee802_1x_tx_key() 1917 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_rekey_broadcast() local 1922 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast() 1923 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); in ieee802_1x_rekey_broadcast() 1924 if (eapol->default_wep_key == NULL || in ieee802_1x_rekey_broadcast() 1925 random_get_bytes(eapol->default_wep_key, in ieee802_1x_rekey_broadcast() 1928 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast() [all …]
|
D | wpa_auth.h | 295 int session_timeout, struct eapol_state_machine *eapol); 299 struct eapol_state_machine *eapol);
|
/external/syslinux/gpxe/src/net/ |
D | eapol.c | 46 struct eapol_frame *eapol = iob->data; in eapol_rx() local 55 if ( handler->type == eapol->type ) { in eapol_rx() 62 return -( ENOTSUP | ( ( eapol->type & 0x1f ) << 8 ) ); in eapol_rx()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.c | 367 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { in eapol_test_compare_pmk() 376 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) { in eapol_test_compare_pmk() 394 sess_id = eapol_sm_get_session_id(e->wpa_s->eapol, &sess_id_len); in eapol_test_compare_pmk() 420 static void eapol_sm_cb(struct eapol_sm *eapol, enum eapol_supp_result result, in eapol_sm_cb() argument 614 wpa_s->eapol = eapol_sm_init(ctx); in test_eapol() 615 if (wpa_s->eapol == NULL) { in test_eapol() 647 eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf); in test_eapol() 648 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in test_eapol() 651 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in test_eapol() 653 eapol_sm_notify_portEnabled(wpa_s->eapol, TRUE); in test_eapol() [all …]
|
D | wpa_supplicant.c | 275 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); in wpa_supplicant_initiate_eapol() 276 eapol_sm_notify_eap_success(wpa_s->eapol, TRUE); in wpa_supplicant_initiate_eapol() 277 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 282 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 283 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 287 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); in wpa_supplicant_initiate_eapol() 289 eapol_sm_notify_portControl(wpa_s->eapol, Auto); in wpa_supplicant_initiate_eapol() 331 eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf); in wpa_supplicant_initiate_eapol() 446 eapol_sm_register_scard_ctx(wpa_s->eapol, NULL); in wpa_supplicant_cleanup() 473 eapol_sm_deinit(wpa_s->eapol); in wpa_supplicant_cleanup() [all …]
|
D | wpas_glue.c | 268 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, in wpa_supplicant_eapol_cb() argument 312 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN); in wpa_supplicant_eapol_cb() 321 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); in wpa_supplicant_eapol_cb() 327 res = eapol_sm_get_key(eapol, pmk, 16); in wpa_supplicant_eapol_cb() 903 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, in wpa_supplicant_eap_proxy_cb() 1079 wpa_s->eapol = eapol_sm_init(ctx); in wpa_supplicant_init_eapol() 1080 if (wpa_s->eapol == NULL) { in wpa_supplicant_init_eapol()
|
D | events.c | 232 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_select_config() 303 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 304 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 306 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 309 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_mark_disassoc() 332 eapol_sm_notify_pmkid_attempt(wpa_s->eapol); in wpa_find_assoc_pmkid() 446 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init() 2521 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); in wpa_supplicant_event_assoc() 2522 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in wpa_supplicant_event_assoc() 2526 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_event_assoc() [all …]
|
D | wpas_kay.c | 265 session_id = eapol_sm_get_session_id(wpa_s->eapol, &id_len); in ieee802_1x_auth_get_session_id() 293 sm = wpa_s->eapol; in ieee802_1x_auth_get_msk()
|
D | ctrl_iface.c | 424 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 427 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 430 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 433 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 2147 res = eapol_sm_get_status(wpa_s->eapol, pos, end - pos, in wpa_supplicant_ctrl_iface_status() 2159 sess_id = eapol_sm_get_session_id(wpa_s->eapol, &sess_id_len); in wpa_supplicant_ctrl_iface_status() 3105 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_ctrl_iface_remove_network() 3111 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_ctrl_iface_remove_network() 3173 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_ctrl_iface_update_network() 7573 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpa_supplicant_ctrl_iface_flush() [all …]
|
D | ctrl_iface_udp.c | 343 eapol_sm_notify_ctrl_attached(wpa_s->eapol);
|
/external/syslinux/gpxe/src/net/80211/ |
D | wpa.c | 479 struct eapol_frame *eapol = iob_push ( iob, EAPOL_HDR_LEN ); in wpa_send_eapol() local 485 eapol->version = EAPOL_THIS_VERSION; in wpa_send_eapol() 486 eapol->type = EAPOL_TYPE_KEY; in wpa_send_eapol() 487 eapol->length = htons ( iob->tail - iob->data - sizeof ( *eapol ) ); in wpa_send_eapol() 491 kie->mic ( &ctx->ptk.kck, eapol, EAPOL_HDR_LEN + in wpa_send_eapol() 973 REQUIRE_OBJECT ( eapol );
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 155 eapol_sm_notify_tx_eapol_key(sm->eapol); in wpa_eapol_key_send() 284 eapol_sm_notify_cached(sm->eapol); in wpa_supplicant_get_pmk() 288 } else if (wpa_key_mgmt_wpa_ieee8021x(sm->key_mgmt) && sm->eapol) { in wpa_supplicant_get_pmk() 295 res = eapol_sm_get_key(sm->eapol, sm->pmk, pmk_len); in wpa_supplicant_get_pmk() 302 res = eapol_sm_get_key(sm->eapol, sm->pmk, 16); in wpa_supplicant_get_pmk() 308 if (eapol_sm_get_key(sm->eapol, buf, 2 * PMK_LEN) == 0) in wpa_supplicant_get_pmk() 646 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 648 eapol_sm_notify_eap_success(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 1344 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_process_3_of_4() 1993 eapol_sm_notify_lower_layer_success(sm->eapol, 0); in wpa_sm_rx_eapol() [all …]
|
D | preauth.c | 73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, in rsn_preauth_eapol_cb() argument 83 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); in rsn_preauth_eapol_cb() 89 res = eapol_sm_get_key(eapol, pmk, 16); in rsn_preauth_eapol_cb()
|
D | wpa.h | 129 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 223 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol() argument
|
D | wpa_i.h | 35 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member
|
D | pmksa_cache.c | 76 eapol_sm_request_reauth(pmksa->sm->eapol); in pmksa_cache_reauth()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
D | sta_network.cpp | 1525 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapSimGsmAuthResponseInternal() 1541 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapSimGsmAuthFailureInternal() 1574 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapSimUmtsAuthResponseInternal() 1598 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapSimUmtsAutsResponseInternal() 1614 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapSimUmtsAuthFailureInternal() 1629 eapol_sm_notify_ctrl_response(wpa_s->eapol); in sendNetworkEapIdentityResponseInternal() 1702 eapol_sm_invalidate_cached_session(wpa_s->eapol); in resetInternalStateAfterParamsUpdate()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.c | 1163 eapol_sm_deinit(wpa_s->eapol); in wpas_dbus_iface_set_smartcard_modules() 1164 wpa_s->eapol = NULL; in wpas_dbus_iface_set_smartcard_modules() 1166 wpa_sm_set_eapol(wpa_s->wpa, wpa_s->eapol); in wpas_dbus_iface_set_smartcard_modules()
|
D | dbus_new_handlers.c | 268 eapol_sm_invalidate_cached_session(wpa_s->eapol); in set_network_properties() 1876 eapol_sm_notify_ctrl_response(wpa_s->eapol); in wpas_dbus_handler_network_reply() 2115 eapol_sm_notify_logoff(wpa_s->eapol, TRUE); in wpas_dbus_handler_eap_logoff() 2131 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpas_dbus_handler_eap_logon()
|
/external/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.h | 107 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
|