/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | wpa.h | 30 struct wpa_sm; 93 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx); 94 void wpa_sm_deinit(struct wpa_sm *sm); 95 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 96 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 97 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 98 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 99 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 100 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 101 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); [all …]
|
D | preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 23 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 25 void rsn_preauth_deinit(struct wpa_sm *sm); 26 void rsn_preauth_scan_results(struct wpa_sm *sm, 28 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 30 void rsn_preauth_candidate_process(struct wpa_sm *sm); 31 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 33 int rsn_preauth_in_progress(struct wpa_sm *sm); 37 static inline void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 41 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() [all …]
|
D | wpa_i.h | 25 struct wpa_sm { struct 112 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) in wpa_sm_set_state() argument 118 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state() 124 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) in wpa_sm_deauthenticate() 130 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code) in wpa_sm_disassociate() 136 static inline int wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg, in wpa_sm_set_key() 146 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm) in wpa_sm_get_network_ctx() 152 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid() 158 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, in wpa_sm_ether_send() 165 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm) in wpa_sm_get_beacon_ie() [all …]
|
D | pmksa_cache.h | 52 void *ctx, struct wpa_sm *sm); 56 int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len); 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, 75 void *ctx, struct wpa_sm *sm) in pmksa_cache_init() 91 pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 96 static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) in pmksa_cache_list() 112 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 116 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current()
|
D | peerkey.h | 46 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm, 50 void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, 52 void peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, 55 void peerkey_deinit(struct wpa_sm *sm); 60 peerkey_verify_eapol_key_mic(struct wpa_sm *sm, in peerkey_verify_eapol_key_mic() 69 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, in peerkey_rx_eapol_4way() 75 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, in peerkey_rx_eapol_smk() 81 static inline void peerkey_deinit(struct wpa_sm *sm) in peerkey_deinit()
|
D | wpa.c | 103 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, in wpa_eapol_key_send() 141 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request() 192 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk() 310 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4() 358 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk() 376 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, in wpa_supplicant_process_1_of_4() 457 struct wpa_sm *sm = eloop_ctx; in wpa_sm_start_preauth() 462 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm, in wpa_supplicant_key_neg_complete() 506 struct wpa_sm *sm = eloop_ctx; in wpa_sm_rekey_ptk() 512 static int wpa_supplicant_install_ptk(struct wpa_sm *sm, in wpa_supplicant_install_ptk() [all …]
|
D | preauth.c | 45 void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 65 struct wpa_sm *sm = ctx; in rsn_preauth_receive() 86 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_cb() 128 struct wpa_sm *sm = eloop_ctx; in rsn_preauth_timeout() 140 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_send() 177 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, in rsn_preauth_init() 267 void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit() 294 void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() 359 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add() 433 void rsn_preauth_scan_results(struct wpa_sm *sm, in rsn_preauth_scan_results() [all …]
|
D | peerkey.c | 52 struct wpa_sm *sm = eloop_ctx; in wpa_supplicant_smk_timeout() 59 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm, in wpa_supplicant_peerkey_free() 67 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, in wpa_supplicant_send_smk_error() 127 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm, in wpa_supplicant_send_smk_m3() 180 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m2() 333 static void wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm, in wpa_supplicant_send_stk_1_of_4() 390 static void wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm, in wpa_supplicant_send_stk_3_of_4() 468 static int wpa_supplicant_process_smk_m5(struct wpa_sm *sm, in wpa_supplicant_process_smk_m5() 526 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m45() 608 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_error() [all …]
|
D | wpa_ft.c | 26 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk_ft() 70 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *mobility_domain, in wpa_sm_set_ft_params() 119 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, in wpa_ft_gen_req_ies() 393 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk() 431 int wpa_ft_prepare_auth_request(struct wpa_sm *sm) in wpa_ft_prepare_auth_request() 454 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() 580 int wpa_ft_is_completed(struct wpa_sm *sm) in wpa_ft_is_completed() 593 static int wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem, in wpa_ft_process_gtk_subelem() 679 static int wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem, in wpa_ft_process_igtk_subelem() 732 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, in wpa_ft_validate_reassoc_resp() [all …]
|
D | pmksa_cache.c | 33 struct wpa_sm *sm; /* TODO: get rid of this reference(?) */ 388 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 400 void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 417 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() 450 int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) in pmksa_cache_list() 497 void *ctx, struct wpa_sm *sm) in pmksa_cache_init()
|
D | wpa_ie.h | 50 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
D | wpa_ie.c | 257 struct wpa_sm *sm) in wpa_gen_wpa_ie_rsn() 382 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) in wpa_gen_wpa_ie()
|
/external/wpa_supplicant/ |
D | wpa.h | 52 struct wpa_sm; 111 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx); 112 void wpa_sm_deinit(struct wpa_sm *sm); 113 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 114 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 115 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 116 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 117 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 118 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 119 void wpa_sm_set_config(struct wpa_sm *sm, struct wpa_ssid *config); [all …]
|
D | preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 26 static inline void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 35 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 37 void rsn_preauth_deinit(struct wpa_sm *sm); 38 void rsn_preauth_scan_results(struct wpa_sm *sm, 40 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 42 void rsn_preauth_candidate_process(struct wpa_sm *sm); 43 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 45 int rsn_preauth_in_progress(struct wpa_sm *sm); 49 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() [all …]
|
D | wpa_i.h | 78 struct wpa_sm { struct 139 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) in wpa_sm_set_state() argument 144 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state() 149 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) in wpa_sm_deauthenticate() 154 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code) in wpa_sm_disassociate() 159 static inline int wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg, in wpa_sm_set_key() 168 static inline struct wpa_ssid * wpa_sm_get_ssid(struct wpa_sm *sm) in wpa_sm_get_ssid() 173 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid() 178 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, in wpa_sm_ether_send() 184 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *sm) in wpa_sm_get_beacon_ie() [all …]
|
D | pmksa_cache.h | 42 void *ctx, struct wpa_sm *sm); 46 int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len); 51 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm); 52 void pmksa_cache_clear_current(struct wpa_sm *sm); 53 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 65 void *ctx, struct wpa_sm *sm) in pmksa_cache_init() 81 pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 86 static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) in pmksa_cache_list() 102 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 106 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current()
|
D | preauth.c | 43 void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 65 struct wpa_sm *sm = ctx; in rsn_preauth_receive() 87 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_cb() 128 struct wpa_sm *sm = eloop_ctx; in rsn_preauth_timeout() 140 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_send() 177 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct wpa_ssid *config) in rsn_preauth_init() 267 void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit() 294 void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() 357 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add() 431 void rsn_preauth_scan_results(struct wpa_sm *sm, in rsn_preauth_scan_results() [all …]
|
D | wpa.c | 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() [all …]
|
D | pmksa_cache.c | 34 struct wpa_sm *sm; /* TODO: get rid of this reference(?) */ 380 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 392 void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 409 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() 441 int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) in pmksa_cache_list() 488 void *ctx, struct wpa_sm *sm) in pmksa_cache_init()
|
D | wpa_supplicant_i.h | 28 struct wpa_sm; 316 struct wpa_sm *wpa;
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_supplicant_i.h | 34 struct wpa_sm; 323 struct wpa_sm *wpa;
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_wpa.c | 44 struct wpa_sm *supp;
|