Lines Matching refs:wpa_sm
223 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm,
729 struct wpa_sm *sm) in wpa_gen_wpa_ie_rsn()
842 static int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) in wpa_gen_wpa_ie()
940 static void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, in wpa_eapol_key_send()
981 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request()
1039 int wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) in wpa_sm_stkstart()
1345 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk()
1436 static int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, in wpa_supplicant_send_2_of_4()
1485 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4()
1557 struct wpa_sm *sm = eloop_ctx; in wpa_sm_start_preauth()
1562 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete()
1597 static int wpa_supplicant_install_ptk(struct wpa_sm *sm, in wpa_supplicant_install_ptk()
1708 static int wpa_supplicant_install_gtk(struct wpa_sm *sm, in wpa_supplicant_install_gtk()
1748 static int wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, in wpa_supplicant_gtk_tx_bit_workaround()
1765 static int wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, in wpa_supplicant_pairwise_gtk()
1814 static int ieee80211w_set_keys(struct wpa_sm *sm, in ieee80211w_set_keys()
1870 static void wpa_report_ie_mismatch(struct wpa_sm *sm, in wpa_report_ie_mismatch()
1908 static int wpa_supplicant_validate_ie(struct wpa_sm *sm, in wpa_supplicant_validate_ie()
1964 static int wpa_supplicant_send_4_of_4(struct wpa_sm *sm, in wpa_supplicant_send_4_of_4()
2008 static void wpa_supplicant_process_3_of_4(struct wpa_sm *sm, in wpa_supplicant_process_3_of_4()
2116 struct wpa_sm *sm = eloop_ctx; in wpa_supplicant_smk_timeout()
2123 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm, in wpa_supplicant_peerkey_free()
2131 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, in wpa_supplicant_send_smk_error()
2196 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm, in wpa_supplicant_send_smk_m3()
2250 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m2()
2393 static void wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm, in wpa_supplicant_send_stk_1_of_4()
2450 static void wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm, in wpa_supplicant_send_stk_3_of_4()
2506 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m45()
2645 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_error()
2705 static void wpa_supplicant_process_stk_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_stk_1_of_4()
2782 static void wpa_supplicant_update_smk_lifetime(struct wpa_sm *sm, in wpa_supplicant_update_smk_lifetime()
2814 static void wpa_supplicant_process_stk_2_of_4(struct wpa_sm *sm, in wpa_supplicant_process_stk_2_of_4()
2863 static void wpa_supplicant_process_stk_3_of_4(struct wpa_sm *sm, in wpa_supplicant_process_stk_3_of_4()
2939 static void wpa_supplicant_process_stk_4_of_4(struct wpa_sm *sm, in wpa_supplicant_process_stk_4_of_4()
2961 static int wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_rsn()
3006 static int wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_wpa()
3077 static int wpa_supplicant_send_2_of_2(struct wpa_sm *sm, in wpa_supplicant_send_2_of_2()
3112 static void wpa_supplicant_process_1_of_2(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2()
3163 static int wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, in wpa_supplicant_verify_eapol_key_mic()
3214 struct wpa_sm *sm, struct wpa_peerkey *peerkey, in wpa_supplicant_verify_eapol_key_mic_peerkey()
3272 static int wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, in wpa_supplicant_decrypt_key_data()
3327 void wpa_sm_aborted_cached(struct wpa_sm *sm) in wpa_sm_aborted_cached()
3386 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol()
3651 static const u8 * wpa_key_mgmt_suite(struct wpa_sm *sm) in wpa_key_mgmt_suite()
3671 static const u8 * wpa_cipher_suite(struct wpa_sm *sm, int cipher) in wpa_cipher_suite()
3708 int wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) in wpa_sm_get_mib()
3780 struct wpa_sm *sm = ctx; in wpa_sm_pmksa_free_cb()
3810 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx) in wpa_sm_init()
3812 struct wpa_sm *sm; in wpa_sm_init()
3840 void wpa_sm_deinit(struct wpa_sm *sm) in wpa_sm_deinit()
3872 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
3894 void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc()
3910 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) in wpa_sm_set_pmk()
3927 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa()
3947 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) in wpa_sm_set_fast_reauth()
3959 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) in wpa_sm_set_scard_ctx()
3978 void wpa_sm_set_config(struct wpa_sm *sm, struct wpa_ssid *config) in wpa_sm_set_config()
3992 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr()
4005 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, in wpa_sm_set_ifname()
4020 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
4034 int wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, in wpa_sm_set_param()
4092 unsigned int wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) in wpa_sm_get_param()
4134 int wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, in wpa_sm_get_status()
4161 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, in wpa_sm_set_assoc_wpa_ie_default()
4206 int wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_assoc_wpa_ie()
4240 int wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_ap_wpa_ie()
4274 int wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_ap_rsn_ie()
4307 int wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) in wpa_sm_parse_own_wpa_ie()