Home
last modified time | relevance | path

Searched refs:wpa_state_machine (Results 1 – 20 of 20) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth.h144 struct wpa_state_machine;
265 int (*for_each_sta)(void *ctx, int (*cb)(struct wpa_state_machine *sm,
279 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
321 struct wpa_state_machine *sm, int freq,
326 struct wpa_state_machine *sm,
328 int wpa_auth_uses_mfp(struct wpa_state_machine *sm);
329 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv);
330 int wpa_auth_uses_ocv(struct wpa_state_machine *sm);
331 struct wpa_state_machine *
335 struct wpa_state_machine *sm);
[all …]
Dwpa_auth.c34 #define STATE_MACHINE_DATA struct wpa_state_machine
40 static int wpa_sm_step(struct wpa_state_machine *sm);
44 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
46 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm,
52 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
57 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
66 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
186 int (*cb)(struct wpa_state_machine *sm, void *ctx), in wpa_auth_for_each_sta()
321 struct wpa_state_machine *sm = timeout_ctx; in wpa_rekey_ptk()
329 void wpa_auth_set_ptk_rekey_timer(struct wpa_state_machine *sm) in wpa_auth_set_ptk_rekey_timer()
[all …]
Dwpa_auth_i.h19 struct wpa_state_machine { struct
277 struct wpa_state_machine *sm, int key_info,
282 int (*cb)(struct wpa_state_machine *sm, void *ctx),
295 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk);
298 void wpa_ft_install_ptk(struct wpa_state_machine *sm);
299 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, const u8 *pmk_r0,
Dwpa_auth_ie.c533 struct wpa_state_machine *sm, int freq, in wpa_validate_wpa_ie()
950 struct wpa_state_machine *sm, in wpa_validate_osen()
1125 int wpa_auth_uses_mfp(struct wpa_state_machine *sm) in wpa_auth_uses_mfp()
1133 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv) in wpa_auth_set_ocv()
1140 int wpa_auth_uses_ocv(struct wpa_state_machine *sm) in wpa_auth_uses_ocv()
1149 u8 * wpa_auth_write_assoc_resp_owe(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_owe()
1182 u8 * wpa_auth_write_assoc_resp_fils(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_fils()
Dwpa_auth_ft.c37 static int wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm,
41 static void ft_finish_pull(struct wpa_state_machine *sm);
671 static struct wpa_state_machine *
1792 void wpa_ft_sta_deinit(struct wpa_state_machine *sm) in wpa_ft_sta_deinit()
1915 struct wpa_state_machine *sm = eloop_ctx; in wpa_ft_expire_pull()
1928 static int wpa_ft_pull_pmk_r1(struct wpa_state_machine *sm, in wpa_ft_pull_pmk_r1()
2049 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, in wpa_ft_store_pmk_fils()
2078 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk) in wpa_auth_derive_ptk_ft()
2165 static u8 * wpa_ft_gtk_subelem(struct wpa_state_machine *sm, size_t *len) in wpa_ft_gtk_subelem()
2236 static u8 * wpa_ft_igtk_subelem(struct wpa_state_machine *sm, size_t *len) in wpa_ft_igtk_subelem()
[all …]
Dsta_info.h155 struct wpa_state_machine *wpa_sm;
Dwpa_auth_glue.c448 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), in hostapd_wpa_auth_for_each_sta()
894 static struct wpa_state_machine *
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth.h144 struct wpa_state_machine;
307 int (*for_each_sta)(void *ctx, int (*cb)(struct wpa_state_machine *sm,
324 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
369 struct wpa_state_machine *sm, int freq,
375 struct wpa_state_machine *sm,
377 int wpa_auth_uses_mfp(struct wpa_state_machine *sm);
378 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv);
379 int wpa_auth_uses_ocv(struct wpa_state_machine *sm);
380 struct wpa_state_machine *
384 struct wpa_state_machine *sm);
[all …]
Dwpa_auth.c36 #define STATE_MACHINE_DATA struct wpa_state_machine
42 static int wpa_sm_step(struct wpa_state_machine *sm);
46 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
48 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm,
54 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
59 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
68 static int ieee80211w_kde_len(struct wpa_state_machine *sm);
69 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
214 int (*cb)(struct wpa_state_machine *sm, void *ctx), in wpa_auth_for_each_sta()
366 struct wpa_state_machine *sm = timeout_ctx; in wpa_rekey_ptk()
[all …]
Dwpa_auth_i.h19 struct wpa_state_machine { struct
284 struct wpa_state_machine *sm, int key_info,
289 int (*cb)(struct wpa_state_machine *sm, void *ctx),
302 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk);
305 void wpa_ft_install_ptk(struct wpa_state_machine *sm, int retry);
306 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, const u8 *pmk_r0,
Dwpa_auth_ft.c38 static int wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm,
42 static void ft_finish_pull(struct wpa_state_machine *sm);
672 static struct wpa_state_machine *
1794 void wpa_ft_sta_deinit(struct wpa_state_machine *sm) in wpa_ft_sta_deinit()
1917 struct wpa_state_machine *sm = eloop_ctx; in wpa_ft_expire_pull()
1930 static int wpa_ft_pull_pmk_r1(struct wpa_state_machine *sm, in wpa_ft_pull_pmk_r1()
2052 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, in wpa_ft_store_pmk_fils()
2081 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk) in wpa_auth_derive_ptk_ft()
2164 static u8 * wpa_ft_gtk_subelem(struct wpa_state_machine *sm, size_t *len) in wpa_ft_gtk_subelem()
2253 static u8 * wpa_ft_igtk_subelem(struct wpa_state_machine *sm, size_t *len) in wpa_ft_igtk_subelem()
[all …]
Dwpa_auth_ie.c587 struct wpa_state_machine *sm, int freq, in wpa_validate_wpa_ie()
1043 struct wpa_state_machine *sm, in wpa_validate_osen()
1071 int wpa_auth_uses_mfp(struct wpa_state_machine *sm) in wpa_auth_uses_mfp()
1079 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv) in wpa_auth_set_ocv()
1086 int wpa_auth_uses_ocv(struct wpa_state_machine *sm) in wpa_auth_uses_ocv()
1095 u8 * wpa_auth_write_assoc_resp_owe(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_owe()
1129 u8 * wpa_auth_write_assoc_resp_fils(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_fils()
Dsta_info.h197 struct wpa_state_machine *wpa_sm;
Dwpa_auth_glue.c541 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), in hostapd_wpa_auth_for_each_sta()
1040 static struct wpa_state_machine *
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dibss_rsn.h40 struct wpa_state_machine *auth;
Dibss_rsn.c367 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, in auth_for_each_sta()
Dmesh_mpm.c1265 struct wpa_state_machine *sm = sta->wpa_sm; in mesh_mpm_action_rx()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dibss_rsn.h40 struct wpa_state_machine *auth;
Dibss_rsn.c348 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, in auth_for_each_sta()
Dmesh_mpm.c1257 struct wpa_state_machine *sm = sta->wpa_sm; in mesh_mpm_action_rx()