Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/wpa/src/ap/
HDwpa_auth.h145 struct wpa_state_machine;
354 int (*for_each_sta)(void *ctx, int (*cb)(struct wpa_state_machine *sm,
374 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
427 struct wpa_state_machine *sm, int freq,
432 struct wpa_state_machine *assoc_sm);
434 struct wpa_state_machine *sm,
436 int wpa_auth_uses_mfp(struct wpa_state_machine *sm);
437 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv);
438 int wpa_auth_uses_ocv(struct wpa_state_machine *sm);
439 struct wpa_state_machine *
[all …]
HDwpa_auth_i.h19 struct wpa_state_machine { struct
313 struct wpa_state_machine *sm, int key_info,
318 int (*cb)(struct wpa_state_machine *sm, void *ctx),
334 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
337 void wpa_auth_ft_store_keys(struct wpa_state_machine *sm, const u8 *pmk_r0,
342 void wpa_ft_install_ptk(struct wpa_state_machine *sm, int retry);
343 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, const u8 *pmk_r0,
HDwpa_auth.c38 #define STATE_MACHINE_DATA struct wpa_state_machine
44 static int wpa_sm_step(struct wpa_state_machine *sm);
48 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
50 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm,
56 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
61 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
72 static int ieee80211w_kde_len(struct wpa_state_machine *sm);
73 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
89 static const u8 * wpa_auth_get_aa(const struct wpa_state_machine *sm) in wpa_auth_get_aa()
99 static const u8 * wpa_auth_get_spa(const struct wpa_state_machine *sm) in wpa_auth_get_spa()
[all …]
HDwpa_auth_ie.c614 struct wpa_state_machine *sm, int freq, in wpa_validate_wpa_ie()
619 struct wpa_state_machine *assoc_sm) in wpa_validate_wpa_ie()
1110 struct wpa_state_machine *sm, in wpa_validate_osen()
1138 int wpa_auth_uses_mfp(struct wpa_state_machine *sm) in wpa_auth_uses_mfp()
1146 void wpa_auth_set_ocv(struct wpa_state_machine *sm, int ocv) in wpa_auth_set_ocv()
1153 int wpa_auth_uses_ocv(struct wpa_state_machine *sm) in wpa_auth_uses_ocv()
1162 u8 * wpa_auth_write_assoc_resp_owe(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_owe()
1196 u8 * wpa_auth_write_assoc_resp_fils(struct wpa_state_machine *sm, in wpa_auth_write_assoc_resp_fils()
HDwpa_auth_ft.c42 static int wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm,
46 static void ft_finish_pull(struct wpa_state_machine *sm);
676 static struct wpa_state_machine *
1828 void wpa_ft_sta_deinit(struct wpa_state_machine *sm) in wpa_ft_sta_deinit()
1951 struct wpa_state_machine *sm = eloop_ctx; in wpa_ft_expire_pull()
1964 static int wpa_ft_pull_pmk_r1(struct wpa_state_machine *sm, in wpa_ft_pull_pmk_r1()
2086 int wpa_ft_store_pmk_fils(struct wpa_state_machine *sm, in wpa_ft_store_pmk_fils()
2115 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk, in wpa_auth_derive_ptk_ft()
2168 void wpa_auth_ft_store_keys(struct wpa_state_machine *sm, const u8 *pmk_r0, in wpa_auth_ft_store_keys()
2215 static u8 * wpa_ft_gtk_subelem(struct wpa_state_machine *sm, size_t *len) in wpa_ft_gtk_subelem()
[all …]
HDsta_info.h192 struct wpa_state_machine *wpa_sm;
HDwpa_auth_glue.c587 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), in hostapd_wpa_auth_for_each_sta()
1087 static struct wpa_state_machine *
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
HDibss_rsn.h40 struct wpa_state_machine *auth;
HDmesh_rsn.c146 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), in auth_for_each_sta()
HDibss_rsn.c368 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, in auth_for_each_sta()
HDmesh_mpm.c1296 struct wpa_state_machine *sm = sta->wpa_sm; in mesh_mpm_action_rx()