Home
last modified time | relevance | path

Searched refs:pasn_data (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/wpa/src/pasn/
H A Dpasn_common.h43 struct pasn_data { struct
244 void wpa_pasn_reset(struct pasn_data *pasn); argument
245 int wpas_pasn_start(struct pasn_data *pasn, const u8 *own_addr,
251 struct wpabuf * wpas_pasn_build_auth_1(struct pasn_data *pasn,
254 struct wpabuf * wpas_pasn_build_auth_3(struct pasn_data *pasn, bool full_hdr);
255 int wpa_pasn_verify(struct pasn_data *pasn, const u8 *own_addr,
261 int wpa_pasn_auth_rx(struct pasn_data *pasn, const u8 *data, size_t len,
263 int wpa_pasn_auth_tx_status(struct pasn_data *pasn,
265 int wpas_parse_pasn_frame(struct pasn_data *pasn, u16 auth_type,
271 int handle_auth_pasn_1(struct pasn_data *pasn,
[all …]
H A Dpasn_common.c23 struct pasn_data * pasn_data_init(void) in pasn_data_init()
25 struct pasn_data *pasn = os_zalloc(sizeof(struct pasn_data)); in pasn_data_init()
31 void pasn_data_deinit(struct pasn_data *pasn) in pasn_data_deinit()
41 bin_clear_free(pasn, sizeof(struct pasn_data)); in pasn_data_deinit()
45 void pasn_register_callbacks(struct pasn_data *pasn, void *cb_ctx, in pasn_register_callbacks()
74 void pasn_enable_kdk_derivation(struct pasn_data *pasn) in pasn_enable_kdk_derivation()
83 void pasn_disable_kdk_derivation(struct pasn_data *pasn) in pasn_disable_kdk_derivation()
92 void pasn_set_akmp(struct pasn_data *pasn, int akmp) in pasn_set_akmp()
100 void pasn_set_cipher(struct pasn_data *pasn, int cipher) in pasn_set_cipher()
108 void pasn_set_own_addr(struct pasn_data *pasn, const u8 *addr) in pasn_set_own_addr()
[all …]
H A Dpasn_initiator.c90 void pasn_set_initiator_pmksa(struct pasn_data *pasn, in pasn_set_initiator_pmksa()
100 static struct wpabuf * wpas_pasn_wd_sae_commit(struct pasn_data *pasn) in wpas_pasn_wd_sae_commit()
145 static int wpas_pasn_wd_sae_rx(struct pasn_data *pasn, struct wpabuf *wd) in wpas_pasn_wd_sae_rx()
244 static struct wpabuf * wpas_pasn_wd_sae_confirm(struct pasn_data *pasn) in wpas_pasn_wd_sae_confirm()
270 static struct wpabuf * wpas_pasn_fils_build_auth(struct pasn_data *pasn) in wpas_pasn_fils_build_auth()
351 static struct wpabuf * wpas_pasn_wd_fils_auth(struct pasn_data *pasn) in wpas_pasn_wd_fils_auth()
370 static int wpas_pasn_wd_fils_rx(struct pasn_data *pasn, struct wpabuf *wd) in wpas_pasn_wd_fils_rx()
520 static struct wpabuf * wpas_pasn_get_wrapped_data(struct pasn_data *pasn) in wpas_pasn_get_wrapped_data()
569 static u8 wpas_pasn_get_wrapped_data_format(struct pasn_data *pasn) in wpas_pasn_get_wrapped_data_format()
598 static void wpas_pasn_add_mle(struct pasn_data *pasn, struct wpabuf *buf) in wpas_pasn_add_mle()
[all …]
H A Dpasn_responder.c91 void pasn_set_responder_pmksa(struct pasn_data *pasn, in pasn_set_responder_pmksa()
102 static int pasn_wd_handle_sae_commit(struct pasn_data *pasn, in pasn_wd_handle_sae_commit()
224 static int pasn_wd_handle_sae_confirm(struct pasn_data *pasn, in pasn_wd_handle_sae_confirm()
287 static struct wpabuf * pasn_get_sae_wd(struct pasn_data *pasn) in pasn_get_sae_wd()
342 static struct wpabuf * pasn_get_fils_wd(struct pasn_data *pasn) in pasn_get_fils_wd()
391 static struct wpabuf * pasn_get_wrapped_data(struct pasn_data *pasn) in pasn_get_wrapped_data()
431 pasn_derive_keys(struct pasn_data *pasn, in pasn_derive_keys()
434 struct wpa_pasn_params_data *pasn_data, in pasn_derive_keys() argument
521 static void handle_auth_pasn_comeback(struct pasn_data *pasn, in handle_auth_pasn_comeback()
574 int handle_auth_pasn_resp(struct pasn_data *pasn, const u8 *own_addr, in handle_auth_pasn_resp()
[all …]
/freebsd/contrib/wpa/src/nan/
H A Dnan_pairing.c223 static int nan_pairing_set_password(struct pasn_data *pasn, in nan_pairing_set_password()
364 struct pasn_data *pasn; in nan_pairing_pasn_initialize()
556 struct pasn_data *pasn; in nan_pairing_initiate_pasn_auth()
663 struct pasn_data *pasn = peer->pairing.pasn; in nan_pairing_done()
860 struct pasn_data *pasn = peer->pairing.pasn; in nan_pairing_derive_nd_pmk()
907 struct pasn_data *pasn; in nan_pairing_pasn_auth_tx_status()
1102 struct pasn_data *pasn; in nan_pairing_handle_auth_1()
1145 struct wpa_pasn_params_data pasn_data; in nan_pairing_handle_auth_2() local
1146 struct pasn_data *pasn = peer->pairing.pasn; in nan_pairing_handle_auth_2()
1149 &pasn_data) < 0) { in nan_pairing_handle_auth_2()
[all …]
H A Dnan_i.h531 struct pasn_data *pasn;
/freebsd/contrib/wpa/wpa_supplicant/
H A Dpasn_supplicant.c234 struct wpa_ssid *ssid, struct pasn_data *pasn) in wpas_pasn_get_group()
676 static void wpas_pasn_initiate_eapol(struct pasn_data *pasn, in wpas_pasn_initiate_eapol()
698 struct pasn_data *pasn = &wpa_s->pasn; in wpas_pasn_reset()
796 struct pasn_data *pasn, in wpas_eppke_set_rsne()
830 struct pasn_data *pasn = &wpa_s->pasn; in wpas_pasn_auth_start_cb()
1209 struct pasn_data *pasn = &wpa_s->pasn; in wpas_pasn_auth_stop()
1245 struct pasn_data *pasn, in wpas_pasn_immediate_retry()
1283 struct pasn_data *pasn) in wpas_pasn_retry_with_next_group()
1354 struct pasn_data *pasn = &wpa_s->pasn; in wpas_pasn_auth_rx()
1355 struct wpa_pasn_params_data pasn_data; in wpas_pasn_auth_rx() local
[all …]
H A Dwpa_supplicant_i.h1682 struct pasn_data pasn;
2196 struct pasn_data *pasn);
H A Dsme.c958 struct pasn_data *pasn; in wpas_eppke_initialize()
3854 struct pasn_data *pasn = &wpa_s->pasn; in sme_event_auth()
/freebsd/contrib/wpa/src/common/
H A Dproximity_ranging.c1761 static void pr_pasn_set_password(struct pasn_data *pasn, u8 pasn_type, in pr_pasn_set_password()
1792 struct pasn_data *pasn; in pr_pasn_initialize()
2015 struct pasn_data *pasn; in pr_initiate_pasn_auth()
2102 struct pasn_data *pasn; in pr_pasn_auth_tx_status()
2175 struct pasn_data *pasn; in pr_pasn_auth_retransmit()
2556 struct wpa_pasn_params_data pasn_data; in pr_pasn_handle_auth_2() local
2576 &pasn_data) < 0) { in pr_pasn_handle_auth_2()
H A Dproximity_ranging.h430 struct pasn_data *pasn;
/freebsd/contrib/wpa/src/ap/
H A Dsta_info.h342 struct pasn_data *pasn;
H A Dieee802_11.c3497 struct pasn_data *pasn = sta->pasn; in pasn_fils_auth_resp()
3582 struct pasn_data *pasn = sta->pasn; in pasn_wd_handle_fils()
3886 struct pasn_data *pasn = sta->pasn; in hapd_initialize_pasn()
3993 struct pasn_data *pasn = sta->pasn; in hapd_pasn_update_params()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p.c6395 static void p2p_pairing_set_password(struct pasn_data *pasn, u8 pasn_type, in p2p_pairing_set_password()
6423 struct pasn_data *pasn; in p2p_pasn_initialize()
6544 struct pasn_data *pasn; in p2p_initiate_pasn_verify()
6640 struct pasn_data *pasn; in p2p_initiate_pasn_auth()
6864 struct pasn_data *pasn; in p2p_pasn_add_encrypted_data()
6932 struct pasn_data *pasn; in p2p_prepare_data_element()
7136 struct pasn_data *pasn; in p2p_pasn_auth_tx_status()
7177 struct pasn_data *pasn; in p2p_handle_pasn_auth()
7271 struct pasn_data *pasn; in p2p_pasn_auth_rx()
7272 struct wpa_pasn_params_data pasn_data; in p2p_pasn_auth_rx() local
[all …]
H A Dp2p_i.h194 struct pasn_data *pasn;