/external/wpa_supplicant_8/wpa_supplicant/tests/ |
H A D | link_test.c | 67 struct eapol_state_machine *eapol) 66 pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | pmksa_cache_auth.c | 126 struct eapol_state_machine *eapol) 128 if (eapol == NULL) 131 if (eapol->identity) { 132 entry->identity = os_malloc(eapol->identity_len); 134 entry->identity_len = eapol->identity_len; 135 os_memcpy(entry->identity, eapol->identity, 136 eapol->identity_len); 140 if (eapol->radius_cui) 141 entry->cui = wpabuf_dup(eapol->radius_cui); 144 radius_copy_class(&entry->radius_class, &eapol 125 pmksa_cache_from_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 152 pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 243 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) argument [all...] |
H A D | ieee802_1x.c | 195 struct eapol_authenticator *eapol = hapd->eapol_auth; local 211 if (eapol->default_wep_key) { 212 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, 213 eapol->default_wep_key, 1723 struct eapol_authenticator *eapol = hapd->eapol_auth; local 1728 os_free(eapol->default_wep_key); 1729 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); 1730 if (eapol->default_wep_key == NULL || 1731 random_get_bytes(eapol->default_wep_key, 1734 os_free(eapol 1761 struct eapol_authenticator *eapol = hapd->eapol_auth; local [all...] |
H A D | wpa_auth.c | 3051 int session_timeout, struct eapol_state_machine *eapol) 3059 eapol, sm->wpa_key_mgmt)) 3069 struct eapol_state_machine *eapol) 3075 sta_addr, session_timeout, eapol, 3050 wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, int session_timeout, struct eapol_state_machine *eapol) argument 3066 wpa_auth_pmksa_add_preauth(struct wpa_authenticator *wpa_auth, const u8 *pmk, size_t len, const u8 *sta_addr, int session_timeout, struct eapol_state_machine *eapol) argument
|
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | preauth.c | 73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, argument 83 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 89 res = eapol_sm_get_key(eapol, pmk, 16);
|
H A D | wpa.h | 116 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 200 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
|
H A D | wpa_i.h | 33 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member in struct:wpa_sm
|
/external/wpa_supplicant_8/src/ap/ |
H A D | pmksa_cache_auth.c | 126 struct eapol_state_machine *eapol) 128 if (eapol == NULL) 131 if (eapol->identity) { 132 entry->identity = os_malloc(eapol->identity_len); 134 entry->identity_len = eapol->identity_len; 135 os_memcpy(entry->identity, eapol->identity, 136 eapol->identity_len); 140 if (eapol->radius_cui) 141 entry->cui = wpabuf_dup(eapol->radius_cui); 144 radius_copy_class(&entry->radius_class, &eapol 125 pmksa_cache_from_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 152 pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 243 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) argument [all...] |
H A D | ieee802_1x.c | 195 struct eapol_authenticator *eapol = hapd->eapol_auth; local 211 if (eapol->default_wep_key) { 212 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, 213 eapol->default_wep_key, 1723 struct eapol_authenticator *eapol = hapd->eapol_auth; local 1728 os_free(eapol->default_wep_key); 1729 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); 1730 if (eapol->default_wep_key == NULL || 1731 random_get_bytes(eapol->default_wep_key, 1734 os_free(eapol 1761 struct eapol_authenticator *eapol = hapd->eapol_auth; local [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | preauth.c | 73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, argument 83 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 89 res = eapol_sm_get_key(eapol, pmk, 16);
|
H A D | wpa.h | 116 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 200 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
|
H A D | wpa_i.h | 33 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member in struct:wpa_sm
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | pmksa_cache_auth.c | 126 struct eapol_state_machine *eapol) 128 if (eapol == NULL) 131 if (eapol->identity) { 132 entry->identity = os_malloc(eapol->identity_len); 134 entry->identity_len = eapol->identity_len; 135 os_memcpy(entry->identity, eapol->identity, 136 eapol->identity_len); 140 if (eapol->radius_cui) 141 entry->cui = wpabuf_dup(eapol->radius_cui); 144 radius_copy_class(&entry->radius_class, &eapol 125 pmksa_cache_from_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 152 pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 243 pmksa_cache_auth_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa, int session_timeout, struct eapol_state_machine *eapol, int akmp) argument [all...] |
H A D | ieee802_1x.c | 195 struct eapol_authenticator *eapol = hapd->eapol_auth; local 211 if (eapol->default_wep_key) { 212 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, 213 eapol->default_wep_key, 1723 struct eapol_authenticator *eapol = hapd->eapol_auth; local 1728 os_free(eapol->default_wep_key); 1729 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); 1730 if (eapol->default_wep_key == NULL || 1731 random_get_bytes(eapol->default_wep_key, 1734 os_free(eapol 1761 struct eapol_authenticator *eapol = hapd->eapol_auth; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | preauth.c | 73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, argument 83 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 89 res = eapol_sm_get_key(eapol, pmk, 16);
|
H A D | wpa.h | 116 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 200 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
|
H A D | wpa_i.h | 33 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ member in struct:wpa_sm
|
/external/wpa_supplicant_8/hostapd/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) 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) 48 static void eapol_auth_logger(struct eapol_authenticator *eapol, argument 52 if (eapol 58 eapol_auth_vlogger(struct eapol_authenticator *eapol, const u8 *addr, eapol_logger_level level, const char *fmt, ...) argument 759 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr, int flags, const struct wpabuf *assoc_wps_ie, const struct wpabuf *assoc_p2p_ie, void *sta_ctx, const char *identity, const char *radius_cui) argument 871 eapol_sm_sta_entry_alive(struct eapol_authenticator *eapol, const u8 *addr) argument 880 struct eapol_authenticator *eapol = sm->eapol; local 1129 struct eapol_authenticator *eapol; local 1160 eapol_auth_deinit(struct eapol_authenticator *eapol) argument [all...] |
H A D | eapol_auth_sm_i.h | 173 struct eapol_authenticator *eapol; member in struct:eapol_state_machine
|
/external/wpa_supplicant_8/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) 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) 48 static void eapol_auth_logger(struct eapol_authenticator *eapol, argument 52 if (eapol 58 eapol_auth_vlogger(struct eapol_authenticator *eapol, const u8 *addr, eapol_logger_level level, const char *fmt, ...) argument 759 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr, int flags, const struct wpabuf *assoc_wps_ie, const struct wpabuf *assoc_p2p_ie, void *sta_ctx, const char *identity, const char *radius_cui) argument 871 eapol_sm_sta_entry_alive(struct eapol_authenticator *eapol, const u8 *addr) argument 880 struct eapol_authenticator *eapol = sm->eapol; local 1129 struct eapol_authenticator *eapol; local 1160 eapol_auth_deinit(struct eapol_authenticator *eapol) argument [all...] |
H A D | eapol_auth_sm_i.h | 173 struct eapol_authenticator *eapol; member in struct:eapol_state_machine
|
/external/wpa_supplicant_8/wpa_supplicant/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) 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) 48 static void eapol_auth_logger(struct eapol_authenticator *eapol, argument 52 if (eapol 58 eapol_auth_vlogger(struct eapol_authenticator *eapol, const u8 *addr, eapol_logger_level level, const char *fmt, ...) argument 759 eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr, int flags, const struct wpabuf *assoc_wps_ie, const struct wpabuf *assoc_p2p_ie, void *sta_ctx, const char *identity, const char *radius_cui) argument 871 eapol_sm_sta_entry_alive(struct eapol_authenticator *eapol, const u8 *addr) argument 880 struct eapol_authenticator *eapol = sm->eapol; local 1129 struct eapol_authenticator *eapol; local 1160 eapol_auth_deinit(struct eapol_authenticator *eapol) argument [all...] |
H A D | eapol_auth_sm_i.h | 173 struct eapol_authenticator *eapol; member in struct:eapol_state_machine
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | eapol_test.c | 352 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { 361 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) { 379 sess_id = eapol_sm_get_session_id(e->wpa_s->eapol, &sess_id_len); 405 static void eapol_sm_cb(struct eapol_sm *eapol, enum eapol_supp_result result, argument 576 wpa_s->eapol = eapol_sm_init(ctx); 577 if (wpa_s->eapol == NULL) { 590 eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf); 591 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); 594 eapol_sm_notify_portValid(wpa_s->eapol, FALSE); 596 eapol_sm_notify_portEnabled(wpa_s->eapol, TRU [all...] |
H A D | wpas_glue.c | 252 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, argument 296 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN); 305 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 311 res = eapol_sm_get_key(eapol, pmk, 16); 877 wpa_s->eapol = eapol_sm_init(ctx); 878 if (wpa_s->eapol == NULL) {
|