Lines Matching refs:wpa_sm

52 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk,  in wpa_eapol_key_send()
181 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request()
253 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) in wpa_supplicant_key_mgmt_set_pmk()
271 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk()
483 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4()
582 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk()
626 static int wpa_handle_ext_key_id(struct wpa_sm *sm, in wpa_handle_ext_key_id()
671 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4()
846 struct wpa_sm *sm = eloop_ctx; in wpa_sm_start_preauth()
851 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete()
901 struct wpa_sm *sm = eloop_ctx; in wpa_sm_rekey_ptk()
907 static int wpa_supplicant_install_ptk(struct wpa_sm *sm, in wpa_supplicant_install_ptk()
981 static int wpa_supplicant_activate_ptk(struct wpa_sm *sm) in wpa_supplicant_activate_ptk()
998 static int wpa_supplicant_check_group_cipher(struct wpa_sm *sm, in wpa_supplicant_check_group_cipher()
1034 static int wpa_supplicant_install_gtk(struct wpa_sm *sm, in wpa_supplicant_install_gtk()
1101 static int wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, in wpa_supplicant_gtk_tx_bit_workaround()
1119 static int wpa_supplicant_rsc_relaxation(const struct wpa_sm *sm, in wpa_supplicant_rsc_relaxation()
1149 static int wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, in wpa_supplicant_pairwise_gtk()
1201 static int wpa_supplicant_install_igtk(struct wpa_sm *sm, in wpa_supplicant_install_igtk()
1269 static int wpa_supplicant_install_bigtk(struct wpa_sm *sm, in wpa_supplicant_install_bigtk()
1320 static int ieee80211w_set_keys(struct wpa_sm *sm, in ieee80211w_set_keys()
1357 static void wpa_report_ie_mismatch(struct wpa_sm *sm, in wpa_report_ie_mismatch()
1397 static int ft_validate_mdie(struct wpa_sm *sm, in ft_validate_mdie()
1428 static int ft_validate_ftie(struct wpa_sm *sm, in ft_validate_ftie()
1456 static int ft_validate_rsnie(struct wpa_sm *sm, in ft_validate_rsnie()
1492 static int wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, in wpa_supplicant_validate_ie_ft()
1527 static int wpa_supplicant_validate_ie(struct wpa_sm *sm, in wpa_supplicant_validate_ie()
1615 int wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_4_of_4()
1657 static void wpa_supplicant_process_3_of_4(struct wpa_sm *sm, in wpa_supplicant_process_3_of_4()
1850 static int wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_rsn()
1930 static int wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_wpa()
2017 static int wpa_supplicant_send_2_of_2(struct wpa_sm *sm, in wpa_supplicant_send_2_of_2()
2093 static void wpa_supplicant_process_1_of_2(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2()
2164 static int wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, in wpa_supplicant_verify_eapol_key_mic()
2245 static int wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, in wpa_supplicant_decrypt_key_data()
2338 void wpa_sm_aborted_cached(struct wpa_sm *sm) in wpa_sm_aborted_cached()
2348 void wpa_sm_aborted_external_cached(struct wpa_sm *sm) in wpa_sm_aborted_external_cached()
2358 static void wpa_eapol_key_dump(struct wpa_sm *sm, in wpa_eapol_key_dump()
2396 static int wpa_supp_aead_decrypt(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_supp_aead_decrypt()
2481 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol()
2742 static u32 wpa_key_mgmt_suite(struct wpa_sm *sm) in wpa_key_mgmt_suite()
2793 int wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) in wpa_sm_get_mib()
2867 struct wpa_sm *sm = ctx; in wpa_sm_pmksa_free_cb()
2909 struct wpa_sm *sm = ctx; in wpa_sm_pmksa_is_current_cb()
2923 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx) in wpa_sm_init()
2925 struct wpa_sm *sm; in wpa_sm_init()
2955 void wpa_sm_deinit(struct wpa_sm *sm) in wpa_sm_deinit()
2999 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
3079 void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc()
3117 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, in wpa_sm_set_pmk()
3151 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa()
3175 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) in wpa_sm_set_fast_reauth()
3187 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) in wpa_sm_set_scard_ctx()
3206 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) in wpa_sm_set_config()
3259 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr()
3272 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, in wpa_sm_set_ifname()
3287 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
3301 int wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, in wpa_sm_set_param()
3409 int wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, in wpa_sm_get_status()
3457 int wpa_sm_pmf_enabled(struct wpa_sm *sm) in wpa_sm_pmf_enabled()
3472 int wpa_sm_ext_key_id(struct wpa_sm *sm) in wpa_sm_ext_key_id()
3478 int wpa_sm_ext_key_id_active(struct wpa_sm *sm) in wpa_sm_ext_key_id_active()
3484 int wpa_sm_ocv_enabled(struct wpa_sm *sm) in wpa_sm_ocv_enabled()
3504 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, in wpa_sm_set_assoc_wpa_ie_default()
3563 int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_assoc_wpa_ie()
3594 int wpa_sm_set_assoc_rsnxe_default(struct wpa_sm *sm, u8 *rsnxe, in wpa_sm_set_assoc_rsnxe_default()
3640 int wpa_sm_set_assoc_rsnxe(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_assoc_rsnxe()
3674 int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_ap_wpa_ie()
3708 int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_ap_rsn_ie()
3742 int wpa_sm_set_ap_rsnxe(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_ap_rsnxe()
3774 int wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) in wpa_sm_parse_own_wpa_ie()
3790 int wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) in wpa_sm_pmksa_cache_list()
3796 struct rsn_pmksa_cache_entry * wpa_sm_pmksa_cache_head(struct wpa_sm *sm) in wpa_sm_pmksa_cache_head()
3803 wpa_sm_pmksa_cache_add_entry(struct wpa_sm *sm, in wpa_sm_pmksa_cache_add_entry()
3810 void wpa_sm_pmksa_cache_add(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, in wpa_sm_pmksa_cache_add()
3820 int wpa_sm_pmksa_exists(struct wpa_sm *sm, const u8 *bssid, in wpa_sm_pmksa_exists()
3827 struct rsn_pmksa_cache_entry * wpa_sm_pmksa_cache_get(struct wpa_sm *sm, in wpa_sm_pmksa_cache_get()
3837 void wpa_sm_drop_sa(struct wpa_sm *sm) in wpa_sm_drop_sa()
3866 int wpa_sm_has_ptk(struct wpa_sm *sm) in wpa_sm_has_ptk()
3874 int wpa_sm_has_ptk_installed(struct wpa_sm *sm) in wpa_sm_has_ptk_installed()
3882 void wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) in wpa_sm_update_replay_ctr()
3888 void wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) in wpa_sm_pmksa_cache_flush()
3894 void wpa_sm_external_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) in wpa_sm_external_pmksa_cache_flush()
3901 int wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf) in wpa_wnmsleep_install_key()
3967 int wpa_sm_get_p2p_ip_addr(struct wpa_sm *sm, u8 *buf) in wpa_sm_get_p2p_ip_addr()
3978 void wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter) in wpa_sm_set_rx_replay_ctr()
3990 void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, in wpa_sm_set_ptk_kck_kek()
4010 void wpa_sm_set_test_assoc_ie(struct wpa_sm *sm, struct wpabuf *buf) in wpa_sm_set_test_assoc_ie()
4017 const u8 * wpa_sm_get_anonce(struct wpa_sm *sm) in wpa_sm_get_anonce()
4025 unsigned int wpa_sm_get_key_mgmt(struct wpa_sm *sm) in wpa_sm_get_key_mgmt()
4033 struct wpabuf * fils_build_auth(struct wpa_sm *sm, int dh_group, const u8 *md) in fils_build_auth()
4164 int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, in fils_process_auth()
4469 static int fils_ft_build_assoc_req_rsne(struct wpa_sm *sm, struct wpabuf *buf) in fils_ft_build_assoc_req_rsne()
4573 struct wpabuf * fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, in fils_build_assoc_req()
4703 static void fils_process_hlp_resp(struct wpa_sm *sm, const u8 *resp, size_t len) in fils_process_hlp_resp()
4719 static void fils_process_hlp_container(struct wpa_sm *sm, const u8 *pos, in fils_process_hlp_container()
4768 int fils_process_assoc_resp(struct wpa_sm *sm, const u8 *resp, size_t len) in fils_process_assoc_resp()
5004 void wpa_sm_set_reset_fils_completed(struct wpa_sm *sm, int set) in wpa_sm_set_reset_fils_completed()
5013 int wpa_fils_is_completed(struct wpa_sm *sm) in wpa_fils_is_completed()
5025 struct wpabuf * owe_build_assoc_req(struct wpa_sm *sm, u16 group) in owe_build_assoc_req()
5070 int owe_process_assoc_resp(struct wpa_sm *sm, const u8 *bssid, in owe_process_assoc_resp()
5230 void wpa_sm_set_fils_cache_id(struct wpa_sm *sm, const u8 *fils_cache_id) in wpa_sm_set_fils_cache_id()
5242 void wpa_sm_set_dpp_z(struct wpa_sm *sm, const struct wpabuf *z) in wpa_sm_set_dpp_z()
5253 void wpa_pasn_pmksa_cache_add(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, in wpa_pasn_pmksa_cache_add()
5263 void wpa_sm_pmksa_cache_reconfig(struct wpa_sm *sm) in wpa_sm_pmksa_cache_reconfig()