/freebsd-10-stable/contrib/wpa/src/rsn_supp/ |
H A D | preauth.h | 16 void pmksa_candidate_free(struct wpa_sm *sm); 17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 19 void rsn_preauth_deinit(struct wpa_sm *sm); 20 int rsn_preauth_scan_results(struct wpa_sm *sm); 21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, 23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 25 void rsn_preauth_candidate_process(struct wpa_sm *sm); 26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 28 int rsn_preauth_in_progress(struct wpa_sm *sm); 32 static inline void pmksa_candidate_free(struct wpa_sm *s [all...] |
H A D | wpa.h | 16 struct wpa_sm; 94 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx); 95 void wpa_sm_deinit(struct wpa_sm *sm); 96 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 97 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 98 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 99 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 100 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 101 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 102 void wpa_sm_set_config(struct wpa_sm *s [all...] |
H A D | peerkey.h | 40 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm, 44 void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, 46 void peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, 49 void peerkey_deinit(struct wpa_sm *sm); 54 peerkey_verify_eapol_key_mic(struct wpa_sm *sm, 63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, 69 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, 75 static inline void peerkey_deinit(struct wpa_sm *sm)
|
H A D | pmksa_cache.h | 52 void *ctx, struct wpa_sm *sm); 61 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm); 62 void pmksa_cache_clear_current(struct wpa_sm *sm); 63 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 76 void *ctx, struct wpa_sm *sm) 93 pmksa_cache_get_current(struct wpa_sm *sm) 111 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) 115 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
|
H A D | wpa_i.h | 19 * struct wpa_sm - Internal WPA state machine data 21 struct wpa_sm { struct 136 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) 142 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) 148 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) 154 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg, 164 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm) 170 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) 176 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, 183 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s [all...] |
H A D | wpa_ie.h | 12 struct wpa_sm; 56 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
H A D | preauth.c | 37 void pmksa_candidate_free(struct wpa_sm *sm) 55 struct wpa_sm *sm = ctx; 76 struct wpa_sm *sm = ctx; 118 struct wpa_sm *sm = eloop_ctx; 130 struct wpa_sm *sm = ctx; 167 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 257 void rsn_preauth_deinit(struct wpa_sm *sm) 284 void rsn_preauth_candidate_process(struct wpa_sm *sm) 349 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 417 int rsn_preauth_scan_results(struct wpa_sm *s [all...] |
H A D | wpa.c | 37 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, 85 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) 137 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, 270 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, 355 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, 373 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, 455 struct wpa_sm *sm = eloop_ctx; 460 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, 506 struct wpa_sm *sm = eloop_ctx; 512 static int wpa_supplicant_install_ptk(struct wpa_sm *s [all...] |
H A D | tdls.c | 81 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer); 127 static int wpa_tdls_get_privacy(struct wpa_sm *sm) 145 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 158 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 208 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, 217 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, 277 static int wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, 301 struct wpa_sm *sm = eloop_ctx; 345 static void wpa_tdls_tpk_retry_timeout_cancel(struct wpa_sm *sm, 599 struct wpa_sm *s [all...] |
H A D | peerkey.c | 47 struct wpa_sm *sm = eloop_ctx; 54 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm, 62 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, 122 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm, 175 struct wpa_sm *sm, const unsigned char *src_addr, 328 static void wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm, 385 static void wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm, 463 static int wpa_supplicant_process_smk_m5(struct wpa_sm *sm, 524 struct wpa_sm *sm, const unsigned char *src_addr, 606 struct wpa_sm *s [all...] |
H A D | pmksa_cache.c | 25 struct wpa_sm *sm; /* TODO: get rid of this reference(?) */ 377 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm) 389 void pmksa_cache_clear_current(struct wpa_sm *sm) 406 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 498 void *ctx, struct wpa_sm *sm)
|
H A D | wpa_ft.c | 21 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, 63 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) 145 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, 317 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) 350 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) 373 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 525 int wpa_ft_is_completed(struct wpa_sm *sm) 538 static int wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem, 605 static int wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem, 657 int wpa_ft_validate_reassoc_resp(struct wpa_sm *s [all...] |
H A D | wpa_ie.c | 108 struct wpa_sm *sm) 236 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len)
|
/freebsd-10-stable/contrib/wpa/src/ap/ |
H A D | wnm_ap.c | 107 if (!wpa_auth_uses_mfp(sta->wpa_sm) || 111 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos); 116 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos); 159 wpa_set_wnmsleep(sta->wpa_sm, 1); 170 wpa_set_wnmsleep(sta->wpa_sm, 0); 173 if (!wpa_auth_uses_mfp(sta->wpa_sm)) 174 wpa_wnmsleep_rekey_gtk(sta->wpa_sm);
|
H A D | ap_mlme.c | 176 if (sta->wpa_sm) 177 wpa_remove_ptk(sta->wpa_sm);
|
H A D | tkip_countermeasures.c | 77 wpa_auth_sta_local_mic_failure_report(sta->wpa_sm);
|
H A D | drv_callbacks.c | 155 if (sta->wpa_sm == NULL) 156 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, 158 if (sta->wpa_sm == NULL) { 163 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, 222 if (wpa_auth_uses_mfp(sta->wpa_sm)) 230 status = wpa_ft_validate_reassoc(sta->wpa_sm, req_ies, 276 p = wpa_sm_write_assoc_resp_ies(sta->wpa_sm, buf, sizeof(buf), 290 wpa_auth_sm_event(sta->wpa_sm, WPA_ASSOC_FT); 292 wpa_auth_sm_event(sta->wpa_sm, WPA_ASSOC); 346 wpa_auth_sm_event(sta->wpa_sm, WPA_DISASSO [all...] |
H A D | wpa_auth_glue.c | 283 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 421 if (sta == NULL || sta->wpa_sm == NULL) 453 if (sta->wpa_sm) { 455 return sta->wpa_sm; 458 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr); 459 if (sta->wpa_sm == NULL) { 465 return sta->wpa_sm;
|
H A D | ieee802_1x.c | 64 if (wpa_auth_pairwise_set(sta->wpa_sm)) 734 if (sta->wpa_sm) { 736 if (wpa_auth_sta_get_pmksa(sta->wpa_sm)) 810 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, 822 key_mgmt = wpa_auth_sta_key_mgmt(sta->wpa_sm); 876 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); 882 wpa_auth_sta_clear_pmksa(sta->wpa_sm, pmksa); 887 wpa_auth_sm_event(sta->wpa_sm, WPA_REAUTH_EAPOL); 964 key_mgmt = wpa_auth_sta_key_mgmt(sta->wpa_sm); 1025 pmksa = wpa_auth_sta_get_pmksa(sta->wpa_sm); [all...] |
H A D | ieee802_11.c | 244 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); 421 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); 607 wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH); 628 if (sta->wpa_sm == NULL) 629 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, 631 if (sta->wpa_sm == NULL) { 637 wpa_ft_process_auth(sta->wpa_sm, mgmt->bssid, 871 if (sta->wpa_sm == NULL) 872 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, 874 if (sta->wpa_sm [all...] |
H A D | sta_info.h | 91 struct wpa_state_machine *wpa_sm; member in struct:sta_info
|
H A D | ctrl_iface_ap.c | 69 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len);
|
/freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
H A D | ibss_rsn.h | 20 struct wpa_sm *supp;
|
H A D | wpa_supplicant_i.h | 26 struct wpa_sm; 378 struct wpa_sm *wpa;
|
/freebsd-10-stable/contrib/wpa/wpa_supplicant/tests/ |
H A D | test_wpa.c | 38 struct wpa_sm *supp;
|