/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); 61 struct eapol_state_machine *eapol);
|
D | ieee802_1x.c | 215 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_tx_key() local 231 if (eapol->default_wep_key) { in ieee802_1x_tx_key() 232 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, in ieee802_1x_tx_key() 233 eapol->default_wep_key, in ieee802_1x_tx_key() 1878 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_rekey_broadcast() local 1883 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast() 1884 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); in ieee802_1x_rekey_broadcast() 1885 if (eapol->default_wep_key == NULL || in ieee802_1x_rekey_broadcast() 1886 random_get_bytes(eapol->default_wep_key, in ieee802_1x_rekey_broadcast() 1889 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast() [all …]
|
D | wpa_auth.h | 292 int session_timeout, struct eapol_state_machine *eapol); 296 struct eapol_state_machine *eapol);
|
D | wpa_auth.c | 3288 int session_timeout, struct eapol_state_machine *eapol) in wpa_auth_pmksa_add() argument 3304 eapol, sm->wpa_key_mgmt)) in wpa_auth_pmksa_add() 3314 struct eapol_state_machine *eapol) in wpa_auth_pmksa_add_preauth() argument 3322 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth()
|
/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 | wpas_glue.c | 267 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, in wpa_supplicant_eapol_cb() argument 311 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN); in wpa_supplicant_eapol_cb() 320 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); in wpa_supplicant_eapol_cb() 326 res = eapol_sm_get_key(eapol, pmk, 16); in wpa_supplicant_eapol_cb() 873 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, in wpa_supplicant_eap_proxy_cb() 1001 wpa_s->eapol = eapol_sm_init(ctx); in wpa_supplicant_init_eapol() 1002 if (wpa_s->eapol == NULL) { in wpa_supplicant_init_eapol()
|
D | wpa_supplicant.c | 272 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); in wpa_supplicant_initiate_eapol() 273 eapol_sm_notify_eap_success(wpa_s->eapol, TRUE); in wpa_supplicant_initiate_eapol() 274 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 279 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 280 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 284 eapol_sm_notify_portControl(wpa_s->eapol, ForceAuthorized); in wpa_supplicant_initiate_eapol() 286 eapol_sm_notify_portControl(wpa_s->eapol, Auto); in wpa_supplicant_initiate_eapol() 328 eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf); in wpa_supplicant_initiate_eapol() 425 eapol_sm_register_scard_ctx(wpa_s->eapol, NULL); in wpa_supplicant_cleanup() 450 eapol_sm_deinit(wpa_s->eapol); in wpa_supplicant_cleanup() [all …]
|
D | events.c | 232 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_select_config() 298 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 299 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 301 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 304 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_mark_disassoc() 327 eapol_sm_notify_pmkid_attempt(wpa_s->eapol); in wpa_find_assoc_pmkid() 441 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init() 2302 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); 2303 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); 2306 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); [all …]
|
D | wpas_kay.c | 255 session_id = eapol_sm_get_session_id(wpa_s->eapol, &id_len); in ieee802_1x_auth_get_session_id() 283 sm = wpa_s->eapol; in ieee802_1x_auth_get_msk()
|
D | ctrl_iface.c | 327 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 330 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 333 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 336 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 2006 res = eapol_sm_get_status(wpa_s->eapol, pos, end - pos, in wpa_supplicant_ctrl_iface_status() 2012 sess_id = eapol_sm_get_session_id(wpa_s->eapol, &sess_id_len); in wpa_supplicant_ctrl_iface_status() 2922 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_ctrl_iface_remove_network() 2928 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_ctrl_iface_remove_network() 2970 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_ctrl_iface_remove_network() 2975 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_ctrl_iface_remove_network() [all …]
|
D | ctrl_iface_udp.c | 343 eapol_sm_notify_ctrl_attached(wpa_s->eapol);
|
D | ctrl_iface_named_pipe.c | 342 eapol_sm_notify_ctrl_attached(wpa_s->eapol); in wpa_supplicant_ctrl_iface_rx()
|
D | ap.c | 755 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_create_ap() 779 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_ap_deinit()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
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.c | 79 eapol_sm_notify_tx_eapol_key(sm->eapol); in wpa_eapol_key_send() 210 eapol_sm_notify_cached(sm->eapol); in wpa_supplicant_get_pmk() 214 } else if (wpa_key_mgmt_wpa_ieee8021x(sm->key_mgmt) && sm->eapol) { in wpa_supplicant_get_pmk() 221 res = eapol_sm_get_key(sm->eapol, sm->pmk, pmk_len); in wpa_supplicant_get_pmk() 228 res = eapol_sm_get_key(sm->eapol, sm->pmk, 16); in wpa_supplicant_get_pmk() 234 if (eapol_sm_get_key(sm->eapol, buf, 2 * PMK_LEN) == 0) in wpa_supplicant_get_pmk() 574 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 576 eapol_sm_notify_eap_success(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 1273 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_process_3_of_4() 1861 eapol_sm_notify_lower_layer_success(sm->eapol, 0); in wpa_sm_rx_eapol() [all …]
|
D | wpa.h | 125 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 215 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 | 75 eapol_sm_request_reauth(pmksa->sm->eapol); in pmksa_cache_reauth()
|
/external/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.h | 107 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.c | 1174 eapol_sm_deinit(wpa_s->eapol); in wpas_dbus_iface_set_smartcard_modules() 1175 wpa_s->eapol = NULL; in wpas_dbus_iface_set_smartcard_modules() 1177 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() 1874 eapol_sm_notify_ctrl_response(wpa_s->eapol); in wpas_dbus_handler_network_reply() 2113 eapol_sm_notify_logoff(wpa_s->eapol, TRUE); in wpas_dbus_handler_eap_logoff() 2129 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpas_dbus_handler_eap_logon()
|