Searched defs:wpa_auth (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dpeerkey_auth.c16 #include "wpa_auth.h"
25 struct wpa_authenticator *wpa_auth = eloop_ctx;
50 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, argument
59 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG,
74 __wpa_send_eapol(wpa_auth, sm,
81 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, argument
106 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) ==
111 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK,
113 /* FIX: wpa_stsl_remove(wpa_auth, neg); */
133 wpa_auth_logger(wpa_auth, searc
145 wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk) argument
198 wpa_send_smk_m5(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk, const u8 *peer) argument
255 wpa_smk_m3(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len) argument
326 wpa_smk_error(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *key_data, size_t key_data_len) argument
369 wpa_stsl_remove(struct wpa_authenticator *wpa_auth, struct wpa_stsl_negotiation *neg) argument
[all...]
H A Dwpa_auth_ie.c16 #include "wpa_auth.h"
375 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) argument
382 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) {
383 pos = wpa_write_osen(&wpa_auth->conf, pos);
385 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) {
386 res = wpa_write_rsn_ie(&wpa_auth->conf,
393 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) {
394 res = wpa_write_mdie(&wpa_auth->conf, pos,
401 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) {
402 res = wpa_write_wpa_ie(&wpa_auth
456 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument
719 wpa_validate_osen(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *osen_ie, size_t osen_ie_len) argument
[all...]
H A Dwpa_auth_ft.c21 #include "wpa_auth.h"
33 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, argument
36 if (wpa_auth->cb.send_ether == NULL)
39 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB,
44 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, argument
47 if (wpa_auth->cb.send_ft_action == NULL)
49 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst,
55 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, cons argument
63 wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) argument
204 wpa_ft_store_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0, const u8 *pmk_r0_name, int pairwise) argument
229 wpa_ft_fetch_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0_name, u8 *pmk_r0, int *pairwise) argument
254 wpa_ft_store_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1, const u8 *pmk_r1_name, int pairwise) argument
279 wpa_ft_fetch_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1_name, u8 *pmk_r1, int *pairwise) argument
404 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
1222 wpa_ft_rrb_rx_request(struct wpa_authenticator *wpa_auth, const u8 *current_ap, const u8 *sta_addr, const u8 *body, size_t len) argument
1264 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
1309 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1445 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1514 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1594 wpa_ft_rrb_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1719 wpa_ft_generate_pmk_r1(struct wpa_authenticator *wpa_auth, struct wpa_ft_pmk_r0_sa *pmk_r0, struct ft_remote_r1kh *r1kh, const u8 *s1kh_id, int pairwise) argument
1763 wpa_ft_push_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
[all...]
H A Dwpa_auth_i.h25 struct wpa_authenticator *wpa_auth; member in struct:wpa_state_machine
215 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr,
217 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr,
219 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth,
224 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth,
227 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
232 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth,
234 void wpa_smk_error(struct wpa_authenticator *wpa_auth,
237 void wpa_smk_m1(struct wpa_authenticator *wpa_auth,
240 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
[all...]
H A Dhostapd.h148 struct wpa_authenticator *wpa_auth; member in struct:hostapd_data
H A Dwpa_auth.c24 #include "wpa_auth.h"
39 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth,
42 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth,
44 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth,
48 static void wpa_group_free(struct wpa_authenticator *wpa_auth,
50 static void wpa_group_get(struct wpa_authenticator *wpa_auth,
52 static void wpa_group_put(struct wpa_authenticator *wpa_auth,
68 struct wpa_authenticator *wpa_auth, const u8 *addr)
70 if (wpa_auth->cb.mic_failure_report)
71 return wpa_auth
67 wpa_auth_mic_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
76 wpa_auth_psk_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
84 wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var, int value) argument
93 wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var) argument
102 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument
114 wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, const u8 *addr, u8 *msk, size_t *len) argument
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
135 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
145 wpa_auth_send_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *data, size_t data_len, int encrypt) argument
156 wpa_auth_start_ampe(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
166 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
176 wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_authenticator *a, void *ctx), void *cb_ctx) argument
186 wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) argument
195 wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *fmt, ...) argument
220 wpa_sta_disconnect(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
250 struct wpa_authenticator *wpa_auth = eloop_ctx; local
270 struct wpa_authenticator *wpa_auth = eloop_ctx; local
298 struct wpa_authenticator *wpa_auth = eloop_ctx; local
318 struct wpa_authenticator *wpa_auth = ctx; local
323 wpa_group_init_gmk_and_counter(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
355 wpa_group_init(struct wpa_authenticator *wpa_auth, int vlan_id, int delay_init) argument
413 struct wpa_authenticator *wpa_auth; local
482 wpa_init_keys(struct wpa_authenticator *wpa_auth) argument
501 wpa_deinit(struct wpa_authenticator *wpa_auth) argument
543 wpa_reconfig(struct wpa_authenticator *wpa_auth, struct wpa_auth_config *conf) argument
572 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr) argument
595 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
742 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
791 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
869 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1392 struct wpa_authenticator *wpa_auth = eloop_ctx; local
1402 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1601 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1821 wpa_group_ensure_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2387 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
2633 wpa_gtk_update(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2666 wpa_group_gtk_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2803 wpa_group_setkeys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2838 wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2882 wpa_group_fatal_failure(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2892 wpa_group_setkeysdone(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2909 wpa_group_sm_step(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2987 wpa_gtk_rekey(struct wpa_authenticator *wpa_auth) argument
3022 wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen) argument
3163 wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth) argument
3222 wpa_auth_get_wpa_ie(struct wpa_authenticator *wpa_auth, size_t *len) argument
3248 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
3267 wpa_auth_pmksa_add_sae(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk) argument
3283 wpa_auth_pmksa_remove(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument
3304 wpa_group_free(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3326 wpa_group_get(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3338 wpa_group_put(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3357 wpa_auth_add_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument
3414 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
3471 wpa_auth_radius_das_disconnect_pmksa(struct wpa_authenticator *wpa_auth, struct radius_das_attrs *attr) argument
3478 wpa_auth_reconfig_group_keys(struct wpa_authenticator *wpa_auth) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dpeerkey_auth.c16 #include "wpa_auth.h"
25 struct wpa_authenticator *wpa_auth = eloop_ctx;
50 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, argument
59 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG,
74 __wpa_send_eapol(wpa_auth, sm,
81 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, argument
106 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) ==
111 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK,
113 /* FIX: wpa_stsl_remove(wpa_auth, neg); */
133 wpa_auth_logger(wpa_auth, searc
145 wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk) argument
198 wpa_send_smk_m5(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk, const u8 *peer) argument
255 wpa_smk_m3(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len) argument
326 wpa_smk_error(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *key_data, size_t key_data_len) argument
369 wpa_stsl_remove(struct wpa_authenticator *wpa_auth, struct wpa_stsl_negotiation *neg) argument
[all...]
H A Dwpa_auth_ie.c16 #include "wpa_auth.h"
375 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) argument
382 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) {
383 pos = wpa_write_osen(&wpa_auth->conf, pos);
385 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) {
386 res = wpa_write_rsn_ie(&wpa_auth->conf,
393 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) {
394 res = wpa_write_mdie(&wpa_auth->conf, pos,
401 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) {
402 res = wpa_write_wpa_ie(&wpa_auth
456 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument
719 wpa_validate_osen(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *osen_ie, size_t osen_ie_len) argument
[all...]
H A Dwpa_auth_ft.c21 #include "wpa_auth.h"
33 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, argument
36 if (wpa_auth->cb.send_ether == NULL)
39 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB,
44 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, argument
47 if (wpa_auth->cb.send_ft_action == NULL)
49 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst,
55 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, cons argument
63 wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) argument
204 wpa_ft_store_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0, const u8 *pmk_r0_name, int pairwise) argument
229 wpa_ft_fetch_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0_name, u8 *pmk_r0, int *pairwise) argument
254 wpa_ft_store_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1, const u8 *pmk_r1_name, int pairwise) argument
279 wpa_ft_fetch_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1_name, u8 *pmk_r1, int *pairwise) argument
404 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
1222 wpa_ft_rrb_rx_request(struct wpa_authenticator *wpa_auth, const u8 *current_ap, const u8 *sta_addr, const u8 *body, size_t len) argument
1264 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
1309 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1445 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1514 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1594 wpa_ft_rrb_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1719 wpa_ft_generate_pmk_r1(struct wpa_authenticator *wpa_auth, struct wpa_ft_pmk_r0_sa *pmk_r0, struct ft_remote_r1kh *r1kh, const u8 *s1kh_id, int pairwise) argument
1763 wpa_ft_push_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
[all...]
H A Dwpa_auth_i.h25 struct wpa_authenticator *wpa_auth; member in struct:wpa_state_machine
215 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr,
217 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr,
219 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth,
224 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth,
227 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
232 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth,
234 void wpa_smk_error(struct wpa_authenticator *wpa_auth,
237 void wpa_smk_m1(struct wpa_authenticator *wpa_auth,
240 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
[all...]
H A Dhostapd.h148 struct wpa_authenticator *wpa_auth; member in struct:hostapd_data
H A Dwpa_auth.c24 #include "wpa_auth.h"
39 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth,
42 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth,
44 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth,
48 static void wpa_group_free(struct wpa_authenticator *wpa_auth,
50 static void wpa_group_get(struct wpa_authenticator *wpa_auth,
52 static void wpa_group_put(struct wpa_authenticator *wpa_auth,
68 struct wpa_authenticator *wpa_auth, const u8 *addr)
70 if (wpa_auth->cb.mic_failure_report)
71 return wpa_auth
67 wpa_auth_mic_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
76 wpa_auth_psk_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
84 wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var, int value) argument
93 wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var) argument
102 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument
114 wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, const u8 *addr, u8 *msk, size_t *len) argument
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
135 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
145 wpa_auth_send_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *data, size_t data_len, int encrypt) argument
156 wpa_auth_start_ampe(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
166 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
176 wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_authenticator *a, void *ctx), void *cb_ctx) argument
186 wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) argument
195 wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *fmt, ...) argument
220 wpa_sta_disconnect(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
250 struct wpa_authenticator *wpa_auth = eloop_ctx; local
270 struct wpa_authenticator *wpa_auth = eloop_ctx; local
298 struct wpa_authenticator *wpa_auth = eloop_ctx; local
318 struct wpa_authenticator *wpa_auth = ctx; local
323 wpa_group_init_gmk_and_counter(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
355 wpa_group_init(struct wpa_authenticator *wpa_auth, int vlan_id, int delay_init) argument
413 struct wpa_authenticator *wpa_auth; local
482 wpa_init_keys(struct wpa_authenticator *wpa_auth) argument
501 wpa_deinit(struct wpa_authenticator *wpa_auth) argument
543 wpa_reconfig(struct wpa_authenticator *wpa_auth, struct wpa_auth_config *conf) argument
572 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr) argument
595 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
742 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
791 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
869 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1392 struct wpa_authenticator *wpa_auth = eloop_ctx; local
1402 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1601 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1821 wpa_group_ensure_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2387 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
2633 wpa_gtk_update(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2666 wpa_group_gtk_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2803 wpa_group_setkeys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2838 wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2882 wpa_group_fatal_failure(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2892 wpa_group_setkeysdone(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2909 wpa_group_sm_step(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2987 wpa_gtk_rekey(struct wpa_authenticator *wpa_auth) argument
3022 wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen) argument
3163 wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth) argument
3222 wpa_auth_get_wpa_ie(struct wpa_authenticator *wpa_auth, size_t *len) argument
3248 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
3267 wpa_auth_pmksa_add_sae(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk) argument
3283 wpa_auth_pmksa_remove(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument
3304 wpa_group_free(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3326 wpa_group_get(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3338 wpa_group_put(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3357 wpa_auth_add_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument
3414 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
3471 wpa_auth_radius_das_disconnect_pmksa(struct wpa_authenticator *wpa_auth, struct radius_das_attrs *attr) argument
3478 wpa_auth_reconfig_group_keys(struct wpa_authenticator *wpa_auth) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dpeerkey_auth.c16 #include "wpa_auth.h"
25 struct wpa_authenticator *wpa_auth = eloop_ctx;
50 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, argument
59 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG,
74 __wpa_send_eapol(wpa_auth, sm,
81 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, argument
106 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) ==
111 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK,
113 /* FIX: wpa_stsl_remove(wpa_auth, neg); */
133 wpa_auth_logger(wpa_auth, searc
145 wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk) argument
198 wpa_send_smk_m5(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk, const u8 *peer) argument
255 wpa_smk_m3(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len) argument
326 wpa_smk_error(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *key_data, size_t key_data_len) argument
369 wpa_stsl_remove(struct wpa_authenticator *wpa_auth, struct wpa_stsl_negotiation *neg) argument
[all...]
H A Dwpa_auth_ie.c16 #include "wpa_auth.h"
375 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) argument
382 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) {
383 pos = wpa_write_osen(&wpa_auth->conf, pos);
385 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) {
386 res = wpa_write_rsn_ie(&wpa_auth->conf,
393 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) {
394 res = wpa_write_mdie(&wpa_auth->conf, pos,
401 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) {
402 res = wpa_write_wpa_ie(&wpa_auth
456 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument
719 wpa_validate_osen(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *osen_ie, size_t osen_ie_len) argument
[all...]
H A Dwpa_auth_ft.c21 #include "wpa_auth.h"
33 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, argument
36 if (wpa_auth->cb.send_ether == NULL)
39 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB,
44 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, argument
47 if (wpa_auth->cb.send_ft_action == NULL)
49 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst,
55 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, cons argument
63 wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) argument
204 wpa_ft_store_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0, const u8 *pmk_r0_name, int pairwise) argument
229 wpa_ft_fetch_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0_name, u8 *pmk_r0, int *pairwise) argument
254 wpa_ft_store_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1, const u8 *pmk_r1_name, int pairwise) argument
279 wpa_ft_fetch_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1_name, u8 *pmk_r1, int *pairwise) argument
404 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
1222 wpa_ft_rrb_rx_request(struct wpa_authenticator *wpa_auth, const u8 *current_ap, const u8 *sta_addr, const u8 *body, size_t len) argument
1264 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
1309 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1445 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1514 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1594 wpa_ft_rrb_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument
1719 wpa_ft_generate_pmk_r1(struct wpa_authenticator *wpa_auth, struct wpa_ft_pmk_r0_sa *pmk_r0, struct ft_remote_r1kh *r1kh, const u8 *s1kh_id, int pairwise) argument
1763 wpa_ft_push_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
[all...]
H A Dwpa_auth_i.h25 struct wpa_authenticator *wpa_auth; member in struct:wpa_state_machine
215 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr,
217 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr,
219 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth,
224 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth,
227 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
232 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth,
234 void wpa_smk_error(struct wpa_authenticator *wpa_auth,
237 void wpa_smk_m1(struct wpa_authenticator *wpa_auth,
240 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
[all...]
H A Dhostapd.h148 struct wpa_authenticator *wpa_auth; member in struct:hostapd_data
H A Dwpa_auth.c24 #include "wpa_auth.h"
39 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth,
42 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth,
44 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth,
48 static void wpa_group_free(struct wpa_authenticator *wpa_auth,
50 static void wpa_group_get(struct wpa_authenticator *wpa_auth,
52 static void wpa_group_put(struct wpa_authenticator *wpa_auth,
68 struct wpa_authenticator *wpa_auth, const u8 *addr)
70 if (wpa_auth->cb.mic_failure_report)
71 return wpa_auth
67 wpa_auth_mic_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
76 wpa_auth_psk_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument
84 wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var, int value) argument
93 wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var) argument
102 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument
114 wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, const u8 *addr, u8 *msk, size_t *len) argument
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
135 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument
145 wpa_auth_send_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *data, size_t data_len, int encrypt) argument
156 wpa_auth_start_ampe(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
166 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
176 wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_authenticator *a, void *ctx), void *cb_ctx) argument
186 wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) argument
195 wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *fmt, ...) argument
220 wpa_sta_disconnect(struct wpa_authenticator *wpa_auth, const u8 *addr) argument
250 struct wpa_authenticator *wpa_auth = eloop_ctx; local
270 struct wpa_authenticator *wpa_auth = eloop_ctx; local
298 struct wpa_authenticator *wpa_auth = eloop_ctx; local
318 struct wpa_authenticator *wpa_auth = ctx; local
323 wpa_group_init_gmk_and_counter(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
355 wpa_group_init(struct wpa_authenticator *wpa_auth, int vlan_id, int delay_init) argument
413 struct wpa_authenticator *wpa_auth; local
482 wpa_init_keys(struct wpa_authenticator *wpa_auth) argument
501 wpa_deinit(struct wpa_authenticator *wpa_auth) argument
543 wpa_reconfig(struct wpa_authenticator *wpa_auth, struct wpa_auth_config *conf) argument
572 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr) argument
595 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
742 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
791 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
869 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1392 struct wpa_authenticator *wpa_auth = eloop_ctx; local
1402 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1601 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1821 wpa_group_ensure_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2387 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local
2633 wpa_gtk_update(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2666 wpa_group_gtk_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2803 wpa_group_setkeys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2838 wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2882 wpa_group_fatal_failure(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2892 wpa_group_setkeysdone(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2909 wpa_group_sm_step(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
2987 wpa_gtk_rekey(struct wpa_authenticator *wpa_auth) argument
3022 wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen) argument
3163 wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth) argument
3222 wpa_auth_get_wpa_ie(struct wpa_authenticator *wpa_auth, size_t *len) argument
3248 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
3267 wpa_auth_pmksa_add_sae(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk) argument
3283 wpa_auth_pmksa_remove(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument
3304 wpa_group_free(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3326 wpa_group_get(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3338 wpa_group_put(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument
3357 wpa_auth_add_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument
3414 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
3471 wpa_auth_radius_das_disconnect_pmksa(struct wpa_authenticator *wpa_auth, struct radius_das_attrs *attr) argument
3478 wpa_auth_reconfig_group_keys(struct wpa_authenticator *wpa_auth) argument
[all...]

Completed in 390 milliseconds