Home
last modified time | relevance | path

Searched refs:eapol_sm (Results 1 – 25 of 48) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/
Deapol_supp_sm.h72 struct eapol_sm;
109 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
317 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
318 void eapol_sm_deinit(struct eapol_sm *sm);
319 void eapol_sm_step(struct eapol_sm *sm);
320 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
322 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
323 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
325 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
327 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
[all …]
Deapol_supp_sm.c23 #define STATE_MACHINE_DATA struct eapol_sm
32 struct eapol_sm { struct
152 static void eapol_sm_txLogoff(struct eapol_sm *sm); argument
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/
Deapol_supp_sm.h72 struct eapol_sm;
109 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
308 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
309 void eapol_sm_deinit(struct eapol_sm *sm);
310 void eapol_sm_step(struct eapol_sm *sm);
311 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
313 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
314 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
316 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
318 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
[all …]
Deapol_supp_sm.c23 #define STATE_MACHINE_DATA struct eapol_sm
32 struct eapol_sm { struct
152 static void eapol_sm_txLogoff(struct eapol_sm *sm); argument
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_1x.c153 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key_one()
236 if (sta->eapol_sm) in ieee802_1x_tx_key_one()
237 sta->eapol_sm->dot1xAuthEapolFramesTx++; in ieee802_1x_tx_key_one()
245 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key()
493 sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) { in add_common_radius_sta_attr()
496 sta->eapol_sm->acct_multi_session_id); in add_common_radius_sta_attr()
683 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_encapsulate_radius()
857 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response()
891 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_initiate()
1076 if (sta->eapol_sm) in ieee802_1x_receive()
[all …]
Dwpa_auth_glue.c280 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
283 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
289 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
290 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
293 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
294 sta->eapol_sm->keyRun = value; in hostapd_wpa_auth_set_eapol()
297 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
298 sta->eapol_sm->eap_if->eapKeyAvailable = value; in hostapd_wpa_auth_set_eapol()
301 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
302 sta->eapol_sm->keyDone = value; in hostapd_wpa_auth_set_eapol()
[all …]
Dpreauth_auth.c80 if (sta->eapol_sm == NULL) { in rsn_preauth_receive()
84 sta->eapol_sm->radius_identifier = -1; in rsn_preauth_receive()
85 sta->eapol_sm->portValid = true; in rsn_preauth_receive()
86 sta->eapol_sm->flags |= EAPOL_SM_PREAUTH; in rsn_preauth_receive()
204 key = ieee802_1x_get_key(sta->eapol_sm, &len); in rsn_preauth_finished()
211 sta->eapol_sm) == 0) { in rsn_preauth_finished()
Daccounting.c72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg()
105 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, in accounting_msg()
117 b = ieee802_1x_get_radius_cui(sta->eapol_sm); in accounting_msg()
Dwpa_auth_kay.c361 session_id = ieee802_1x_get_session_id(sta->eapol_sm, &id_len); in ieee802_1x_auth_get_session_id()
387 if (!sta->eapol_sm) in ieee802_1x_auth_get_msk()
390 key = ieee802_1x_get_key(sta->eapol_sm, &keylen); in ieee802_1x_auth_get_msk()
Dsta_info.h178 struct eapol_state_machine *eapol_sm; member
Ddrv_callbacks.c84 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notify_assoc_fils_finish()
720 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notif_assoc()
775 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in hostapd_notif_disassoc()
1262 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in hostapd_notif_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dieee802_1x.c153 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key_one()
236 if (sta->eapol_sm) in ieee802_1x_tx_key_one()
237 sta->eapol_sm->dot1xAuthEapolFramesTx++; in ieee802_1x_tx_key_one()
245 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key()
492 sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) { in add_common_radius_sta_attr()
495 sta->eapol_sm->acct_multi_session_id); in add_common_radius_sta_attr()
683 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_encapsulate_radius()
857 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response()
890 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_initiate()
1066 if (sta->eapol_sm) in ieee802_1x_receive()
[all …]
Dwpa_auth_glue.c200 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
203 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
209 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
210 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
213 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
214 sta->eapol_sm->keyRun = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
217 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
218 sta->eapol_sm->eap_if->eapKeyAvailable = in hostapd_wpa_auth_set_eapol()
222 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
223 sta->eapol_sm->keyDone = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
[all …]
Dpreauth_auth.c80 if (sta->eapol_sm == NULL) { in rsn_preauth_receive()
84 sta->eapol_sm->radius_identifier = -1; in rsn_preauth_receive()
85 sta->eapol_sm->portValid = TRUE; in rsn_preauth_receive()
86 sta->eapol_sm->flags |= EAPOL_SM_PREAUTH; in rsn_preauth_receive()
204 key = ieee802_1x_get_key(sta->eapol_sm, &len); in rsn_preauth_finished()
211 sta->eapol_sm) == 0) { in rsn_preauth_finished()
Daccounting.c72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg()
105 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, in accounting_msg()
117 b = ieee802_1x_get_radius_cui(sta->eapol_sm); in accounting_msg()
Dwpa_auth_kay.c361 session_id = ieee802_1x_get_session_id(sta->eapol_sm, &id_len); in ieee802_1x_auth_get_session_id()
387 if (!sta->eapol_sm) in ieee802_1x_auth_get_msk()
390 key = ieee802_1x_get_key(sta->eapol_sm, &keylen); in ieee802_1x_auth_get_msk()
Dsta_info.h136 struct eapol_state_machine *eapol_sm; member
Dauthsrv.c32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) in hostapd_sim_db_cb_sta()
Ddrv_callbacks.c82 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notify_assoc_fils_finish()
647 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notif_assoc()
700 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in hostapd_notif_disassoc()
1105 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in hostapd_notif_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.h18 struct eapol_sm;
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()
Dwpa_i.h39 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
51 struct eapol_sm *preauth_eapol;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.h18 struct eapol_sm;
156 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
272 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
Dwpa_i.h44 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
56 struct eapol_sm *preauth_eapol;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpas_kay.c297 struct eapol_sm *sm; in ieee802_1x_auth_get_msk()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpas_kay.c297 struct eapol_sm *sm; in ieee802_1x_auth_get_msk()

12