/netbsd/external/bsd/wpa/dist/src/eapol_auth/ |
H A 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) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 99 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 128 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 234 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 292 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 318 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 793 sm->eapol = eapol; in eapol_auth_alloc() 910 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
H A D | eapol_auth_sm.h | 91 void eapol_auth_deinit(struct eapol_authenticator *eapol); 93 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
|
H A D | eapol_auth_sm_i.h | 167 struct eapol_authenticator *eapol; member
|
/netbsd/external/bsd/wpa/dist/src/ap/ |
H A 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() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
H A D | pmksa_cache_auth.h | 55 struct eapol_state_machine *eapol, int akmp); 60 struct eapol_state_machine *eapol, int akmp); 69 struct eapol_state_machine *eapol);
|
H A D | ieee802_1x.c | 260 if (eapol->default_wep_key) { in ieee802_1x_tx_key() 262 eapol->default_wep_key, in ieee802_1x_tx_key() 2114 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast() 2121 eapol->default_wep_key = NULL; in ieee802_1x_rekey_broadcast() 2126 eapol->default_wep_key, in ieee802_1x_rekey_broadcast() 2150 eapol->default_wep_key_idx = in ieee802_1x_rekey() 2153 eapol->default_wep_key_idx++; in ieee802_1x_rekey() 2156 eapol->default_wep_key_idx); in ieee802_1x_rekey() 2163 eapol->default_wep_key = NULL; in ieee802_1x_rekey() 2172 eapol->default_wep_key, in ieee802_1x_rekey() [all …]
|
H A D | wpa_auth.h | 368 int session_timeout, struct eapol_state_machine *eapol); 372 struct eapol_state_machine *eapol);
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | eapol_test.c | 368 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { in eapol_test_compare_pmk() 377 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) { in eapol_test_compare_pmk() 610 wpa_s->eapol = eapol_sm_init(ctx); in test_eapol() 611 if (wpa_s->eapol == NULL) { in test_eapol() 644 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in test_eapol() 647 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in test_eapol() 649 eapol_sm_notify_portEnabled(wpa_s->eapol, TRUE); in test_eapol() 668 eapol_sm_deinit(wpa_s->eapol); in test_eapol_clean() 669 wpa_s->eapol = NULL; in test_eapol_clean() 717 eapol_sm_rx_eapol(wpa_s->eapol, wpa_s->bssid, buf, in send_eap_request_identity() [all …]
|
H A D | wpas_glue.c | 270 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, in wpa_supplicant_eapol_cb() argument 314 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN); in wpa_supplicant_eapol_cb() 323 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); in wpa_supplicant_eapol_cb() 329 res = eapol_sm_get_key(eapol, pmk, 16); in wpa_supplicant_eapol_cb() 944 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in wpa_supplicant_eap_proxy_cb() 1126 wpa_s->eapol = eapol_sm_init(ctx); in wpa_supplicant_init_eapol() 1127 if (wpa_s->eapol == NULL) { in wpa_supplicant_init_eapol()
|
H A D | wpa_supplicant.c | 313 eapol_sm_notify_eap_success(wpa_s->eapol, TRUE); in wpa_supplicant_initiate_eapol() 314 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 320 eapol_sm_notify_eap_fail(wpa_s->eapol, FALSE); in wpa_supplicant_initiate_eapol() 484 eapol_sm_register_scard_ctx(wpa_s->eapol, NULL); in wpa_supplicant_cleanup() 517 eapol_sm_deinit(wpa_s->eapol); in wpa_supplicant_cleanup() 518 wpa_s->eapol = NULL; in wpa_supplicant_cleanup() 3819 eapol_sm_deinit(wpa_s->eapol); in wpas_set_pkcs11_engine_and_module_path() 3820 wpa_s->eapol = NULL; in wpas_set_pkcs11_engine_and_module_path() 3829 wpa_sm_set_eapol(wpa_s->wpa, wpa_s->eapol); in wpas_set_pkcs11_engine_and_module_path() 4883 eapol_sm_set_ext_pw_ctx(wpa_s->eapol, NULL); in wpas_init_ext_pw() [all …]
|
H A D | events.c | 237 eapol_sm_invalidate_cached_session(wpa_s->eapol); in wpa_supplicant_select_config() 315 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 316 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 320 eapol_sm_notify_eap_success(wpa_s->eapol, FALSE); in wpa_supplicant_mark_disassoc() 323 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_mark_disassoc() 356 eapol_sm_notify_pmkid_attempt(wpa_s->eapol); in wpa_find_assoc_pmkid() 2869 eapol_sm_notify_portValid(wpa_s->eapol, TRUE); in wpa_supplicant_event_assoc() 2879 eapol_sm_notify_portValid(wpa_s->eapol, TRUE); in wpa_supplicant_event_assoc() 2888 eapol_sm_notify_portValid(wpa_s->eapol, TRUE); in wpa_supplicant_event_assoc() 3560 eapol_sm_failed(wpa_s->eapol))) && in wpas_event_disconnect() [all …]
|
H A D | wpas_kay.c | 272 session_id = eapol_sm_get_session_id(wpa_s->eapol, &id_len); in ieee802_1x_auth_get_session_id() 300 sm = wpa_s->eapol; in ieee802_1x_auth_get_msk()
|
H A D | ctrl_iface.c | 432 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 435 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 438 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 441 eapol_sm_configure(wpa_s->eapol, in wpa_supplicant_ctrl_iface_set() 8017 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpa_supplicant_ctrl_iface_flush() 8290 eapol_sm_notify_ctrl_response(wpa_s->eapol); in wpas_ctrl_eapol_response() 9573 eapol_sm_erp_flush(wpa_s->eapol); in wpas_ctrl_iface_erp_flush() 9971 reply_len += eapol_sm_get_mib(wpa_s->eapol, in wpa_supplicant_ctrl_iface_process() 10013 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpa_supplicant_ctrl_iface_process() 10015 eapol_sm_notify_logoff(wpa_s->eapol, TRUE); in wpa_supplicant_ctrl_iface_process() [all …]
|
H A D | ctrl_iface_udp.c | 343 eapol_sm_notify_ctrl_attached(wpa_s->eapol);
|
H A D | ctrl_iface_named_pipe.c | 341 eapol_sm_notify_ctrl_attached(wpa_s->eapol); in wpa_supplicant_ctrl_iface_rx()
|
H A D | ap.c | 885 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_create_ap() 917 eapol_sm_notify_config(wpa_s->eapol, NULL, NULL); in wpa_supplicant_ap_deinit()
|
H A D | sme.c | 367 eapol_sm_notify_pmkid_attempt(wpa_s->eapol); in sme_send_authentication() 717 eapol_sm_get_erp_info(wpa_s->eapol, &ssid->eap, in sme_send_authentication() 764 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); in sme_send_authentication()
|
H A D | wpa_supplicant_i.h | 614 struct eapol_sm *eapol; member
|
/netbsd/external/bsd/wpa/dist/src/rsn_supp/ |
H A 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()
|
H A D | wpa.c | 162 eapol_sm_notify_tx_eapol_key(sm->eapol); in wpa_eapol_key_send() 290 eapol_sm_notify_cached(sm->eapol); in wpa_supplicant_get_pmk() 316 res = eapol_sm_get_key(sm->eapol, sm->pmk, pmk_len); in wpa_supplicant_get_pmk() 323 res = eapol_sm_get_key(sm->eapol, sm->pmk, 16); in wpa_supplicant_get_pmk() 742 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 746 eapol_sm_notify_eap_success(sm->eapol, TRUE); in wpa_supplicant_key_neg_complete() 1543 eapol_sm_notify_portValid(sm->eapol, TRUE); in wpa_supplicant_process_3_of_4() 2293 eapol_sm_notify_lower_layer_success(sm->eapol, 0); in wpa_sm_rx_eapol() 2736 eapol_sm_notify_portValid(sm->eapol, FALSE); in wpa_sm_notify_assoc() 2996 sm->eapol = eapol; in wpa_sm_set_eapol() [all …]
|
H A D | wpa.h | 133 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 234 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol() argument
|
H A D | wpa_i.h | 39 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member
|
H A D | pmksa_cache.c | 78 eapol_sm_request_reauth(pmksa->sm->eapol); in pmksa_cache_reauth()
|
/netbsd/external/bsd/wpa/dist/src/eapol_supp/ |
H A D | eapol_supp_sm.h | 109 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 276 eapol_sm_invalidate_cached_session(wpa_s->eapol); in set_network_properties() 1932 eapol_sm_notify_ctrl_response(wpa_s->eapol); in wpas_dbus_handler_network_reply() 2170 eapol_sm_notify_logoff(wpa_s->eapol, TRUE); in wpas_dbus_handler_eap_logoff() 2186 eapol_sm_notify_logoff(wpa_s->eapol, FALSE); in wpas_dbus_handler_eap_logon()
|