Searched refs:wpa_sm (Results 1 - 25 of 76) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpreauth.h16 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 Dwpa.h17 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,
117 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
118 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
119 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
120 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpeerkey.h39 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
43 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,
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
76 static inline void peerkey_deinit(struct wpa_sm *sm)
H A Dpmksa_cache.h52 void *ctx, struct wpa_sm *sm);
62 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
63 void pmksa_cache_clear_current(struct wpa_sm *sm);
64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
78 void *ctx, struct wpa_sm *sm)
95 pmksa_cache_get_current(struct wpa_sm *sm)
114 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
118 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h19 * struct wpa_sm - Internal WPA state machine data
21 struct wpa_sm { struct
138 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
144 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
150 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
156 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
166 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
172 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
178 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
185 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
367 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
447 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c38 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
89 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
156 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
174 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
312 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
408 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
423 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
532 struct wpa_sm *sm = eloop_ctx;
537 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
583 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpreauth.h16 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 Dwpa.h17 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,
117 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
118 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
119 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
120 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpeerkey.h39 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
43 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,
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
76 static inline void peerkey_deinit(struct wpa_sm *sm)
H A Dpmksa_cache.h52 void *ctx, struct wpa_sm *sm);
62 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
63 void pmksa_cache_clear_current(struct wpa_sm *sm);
64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
78 void *ctx, struct wpa_sm *sm)
95 pmksa_cache_get_current(struct wpa_sm *sm)
114 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
118 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h19 * struct wpa_sm - Internal WPA state machine data
21 struct wpa_sm { struct
138 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
144 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
150 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
156 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
166 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
172 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
178 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
185 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
367 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
447 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c38 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
89 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
156 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
174 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
312 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
408 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
423 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
532 struct wpa_sm *sm = eloop_ctx;
537 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
583 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dpreauth.h16 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 Dwpa.h17 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,
117 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
118 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
119 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
120 void wpa_sm_set_config(struct wpa_sm *s
[all...]
H A Dpeerkey.h39 int peerkey_verify_eapol_key_mic(struct wpa_sm *sm,
43 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,
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
76 static inline void peerkey_deinit(struct wpa_sm *sm)
H A Dpmksa_cache.h52 void *ctx, struct wpa_sm *sm);
62 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm);
63 void pmksa_cache_clear_current(struct wpa_sm *sm);
64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
78 void *ctx, struct wpa_sm *sm)
95 pmksa_cache_get_current(struct wpa_sm *sm)
114 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
118 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
H A Dwpa_i.h19 * struct wpa_sm - Internal WPA state machine data
21 struct wpa_sm { struct
138 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
144 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
150 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
156 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
166 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
172 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
178 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest,
185 static inline int wpa_sm_get_beacon_ie(struct wpa_sm *s
[all...]
H A Dwpa_ie.h12 struct wpa_sm;
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dpreauth.c37 void pmksa_candidate_free(struct wpa_sm *sm)
55 struct wpa_sm *sm = ctx;
77 struct wpa_sm *sm = ctx;
121 struct wpa_sm *sm = eloop_ctx;
133 struct wpa_sm *sm = ctx;
170 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
273 void rsn_preauth_deinit(struct wpa_sm *sm)
300 void rsn_preauth_candidate_process(struct wpa_sm *sm)
367 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
447 int rsn_preauth_scan_results(struct wpa_sm *s
[all...]
H A Dwpa.c38 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
89 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
156 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm)
174 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
312 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
408 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
423 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
532 struct wpa_sm *sm = eloop_ctx;
537 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
583 struct wpa_sm *s
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_mlme.c176 if (sta->wpa_sm)
177 wpa_remove_ptk(sta->wpa_sm);

Completed in 1924 milliseconds

1234