Lines Matching defs:sm
72 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state()
77 static inline void wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) in wpa_sm_cancel_auth_timeout()
202 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid()
217 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, in wpa_sm_ether_send()
235 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len, in wpa_eapol_key_send()
280 static void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request()
354 struct wpa_sm *sm = ctx; in wpa_sm_pmksa_free_cb() local
394 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk()
545 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4()
646 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk()
659 void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4()
763 struct wpa_sm *sm = eloop_ctx; in wpa_sm_rekey_ptk() local
770 static int wpa_supplicant_install_ptk(struct wpa_sm *sm, enum key_flag key_flag) in wpa_supplicant_install_ptk()
818 static int wpa_supplicant_check_group_cipher(struct wpa_sm *sm, in wpa_supplicant_check_group_cipher()
845 void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete()
883 static int wpa_supplicant_install_gtk(struct wpa_sm *sm, in wpa_supplicant_install_gtk()
937 static bool wpa_supplicant_gtk_in_use(struct wpa_sm *sm, struct wpa_gtk_data *gd) in wpa_supplicant_gtk_in_use()
968 int wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, in wpa_supplicant_gtk_tx_bit_workaround()
984 int wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, in wpa_supplicant_pairwise_gtk()
1024 static int wpa_supplicant_install_igtk(struct wpa_sm *sm, in wpa_supplicant_install_igtk()
1062 void wpa_report_ie_mismatch(struct wpa_sm *sm, in wpa_report_ie_mismatch()
1103 static int ieee80211w_set_keys(struct wpa_sm *sm, in ieee80211w_set_keys()
1129 static int wpa_supplicant_validate_ie(struct wpa_sm *sm, in wpa_supplicant_validate_ie()
1214 static int wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_4_of_4()
1263 static void wpa_sm_set_seq(struct wpa_sm *sm, struct wpa_eapol_key *key, u8 isptk) in wpa_sm_set_seq()
1281 static void wpa_supplicant_process_3_of_4(struct wpa_sm *sm, in wpa_supplicant_process_3_of_4()
1375 static int wpa_supplicant_activate_ptk(struct wpa_sm *sm) in wpa_supplicant_activate_ptk()
1404 static int wpa_supplicant_send_4_of_4_txcallback(struct wpa_sm *sm) in wpa_supplicant_send_4_of_4_txcallback()
1468 static int wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_rsn()
1513 static int wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2_wpa()
1584 static int wpa_supplicant_send_2_of_2(struct wpa_sm *sm, in wpa_supplicant_send_2_of_2()
1632 static void wpa_supplicant_process_1_of_2(struct wpa_sm *sm, in wpa_supplicant_process_1_of_2()
1695 static int wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, in wpa_supplicant_verify_eapol_key_mic()
1749 static int wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, in wpa_supplicant_decrypt_key_data()
1811 static void wpa_eapol_key_dump(struct wpa_sm *sm, in wpa_eapol_key_dump()
1865 struct wpa_sm *sm = &gWpaSm; in wpa_sm_rx_eapol() local
2105 struct wpa_sm *sm = &gWpaSm; in wpa_sm_set_state() local
2121 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, in wpa_sm_set_pmk()
2151 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa()
2168 struct wpa_sm *sm = &gWpaSm; in wpa_sm_init() local
2195 struct wpa_sm *sm = &gWpaSm; in wpa_sm_deinit() local
2214 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc()
2268 void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc()
2286 struct wpa_sm *sm = &gWpaSm; in wpa_set_profile() local
2312 struct wpa_sm *sm = &gWpaSm; in wpa_set_pmk() local
2335 struct wpa_sm *sm = &gWpaSm; in wpa_set_bss() local
2480 struct wpa_sm *sm = &gWpaSm; in wpa_set_passphrase() local
2522 struct wpa_sm *sm = &gWpaSm; in set_assoc_ie() local
2541 struct wpa_sm *sm = &gWpaSm; in wpa_sm_set_key() local
2568 struct wpa_sm *sm = &gWpaSm; in wpa_supplicant_clr_countermeasures() local
2578 struct wpa_sm *sm = &gWpaSm; in wpa_supplicant_stop_countermeasures() local
2593 struct wpa_sm *sm = &gWpaSm; in wpa_michael_mic_failure() local
2642 struct wpa_sm *sm = &gWpaSm; in eapol_txcb() local
2701 struct wpa_sm *sm = &gWpaSm; in wpa_sta_in_4way_handshake() local
2710 struct wpa_sm *sm = &gWpaSm; in wpa_sta_is_cur_pmksa_set() local
2715 struct wpa_sm *sm = &gWpaSm; in wpa_sta_cur_pmksa_matches_akm() local
2724 struct wpa_sm *sm = &gWpaSm; in wpa_sta_clear_curr_pmksa() local
2738 struct wpa_sm *sm = &gWpaSm; in wpa_sm_set_ap_rsnxe() local
2770 int wpa_sm_set_assoc_rsnxe(struct wpa_sm *sm, const u8 *ie, size_t len) in wpa_sm_set_assoc_rsnxe()
2791 void wpa_sm_drop_sa(struct wpa_sm *sm) in wpa_sm_drop_sa()
2804 struct wpabuf *owe_build_assoc_req(struct wpa_sm *sm, u16 group) in owe_build_assoc_req()
2873 struct wpa_sm *sm; in owe_process_assoc_resp() local