HomeSort by relevance Sort by last modified time
    Searched refs:wpa_sm (Results 1 - 25 of 48) sorted by null

1 2

  /external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
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)
41 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm
    [all...]
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...]
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)
91 pmksa_cache_get_current(struct wpa_sm *sm)
96 static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len)
112 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
116 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid
    [all...]
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,
69 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
75 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
81 static inline void peerkey_deinit(struct wpa_sm *sm)
wpa_i.h 23 * struct wpa_sm - Internal WPA state machine data
25 struct wpa_sm { struct
112 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state)
118 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm)
124 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
130 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code)
136 static inline int wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg,
146 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
152 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
158 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest
    [all...]
wpa.c 103 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck,
141 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
192 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
310 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
358 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
376 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
457 struct wpa_sm *sm = eloop_ctx;
462 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
506 struct wpa_sm *sm = eloop_ctx;
512 static int wpa_supplicant_install_ptk(struct wpa_sm *sm
    [all...]
preauth.c 45 void pmksa_candidate_free(struct wpa_sm *sm)
65 struct wpa_sm *sm = ctx;
86 struct wpa_sm *sm = ctx;
128 struct wpa_sm *sm = eloop_ctx;
140 struct wpa_sm *sm = ctx;
177 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
267 void rsn_preauth_deinit(struct wpa_sm *sm)
294 void rsn_preauth_candidate_process(struct wpa_sm *sm)
359 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
433 void rsn_preauth_scan_results(struct wpa_sm *sm
    [all...]
wpa_ie.h 50 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
wpa_ft.c 26 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr,
70 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *mobility_domain,
119 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len,
393 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid)
431 int wpa_ft_prepare_auth_request(struct wpa_sm *sm)
454 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
580 int wpa_ft_is_completed(struct wpa_sm *sm)
593 static int wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem,
679 static int wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem,
732 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies
    [all...]
  /external/wpa_supplicant_8/src/rsn_supp/
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 int rsn_preauth_scan_results(struct wpa_sm *sm);
27 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
29 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
31 void rsn_preauth_candidate_process(struct wpa_sm *sm);
32 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
34 int rsn_preauth_in_progress(struct wpa_sm *sm);
38 static inline void pmksa_candidate_free(struct wpa_sm *sm
    [all...]
wpa.h 22 struct wpa_sm;
94 struct wpa_sm * wpa_sm_init(struct wpa_sm_ctx *ctx);
95 void wpa_sm_deinit(struct wpa_sm *sm);
96 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
97 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
98 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
99 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
100 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
101 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
102 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config)
    [all...]
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,
69 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
75 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
81 static inline void peerkey_deinit(struct wpa_sm *sm)
pmksa_cache.h 52 void *ctx, struct wpa_sm *sm);
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)
91 pmksa_cache_get_current(struct wpa_sm *sm)
113 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
117 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
wpa_i.h 25 * struct wpa_sm - Internal WPA state machine data
27 struct wpa_sm { struct
125 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state)
131 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm)
137 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
143 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code)
149 static inline int wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg,
159 static inline void * wpa_sm_get_network_ctx(struct wpa_sm *sm)
165 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid)
171 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest
    [all...]
wpa_ie.h 18 struct wpa_sm;
58 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
preauth.c 44 void pmksa_candidate_free(struct wpa_sm *sm)
62 struct wpa_sm *sm = ctx;
83 struct wpa_sm *sm = ctx;
125 struct wpa_sm *sm = eloop_ctx;
137 struct wpa_sm *sm = ctx;
174 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
264 void rsn_preauth_deinit(struct wpa_sm *sm)
291 void rsn_preauth_candidate_process(struct wpa_sm *sm)
356 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
424 int rsn_preauth_scan_results(struct wpa_sm *sm
    [all...]
wpa.c 43 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck,
91 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise)
143 static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
268 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst,
353 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr,
371 static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
452 struct wpa_sm *sm = eloop_ctx;
457 static void wpa_supplicant_key_neg_complete(struct wpa_sm *sm,
503 struct wpa_sm *sm = eloop_ctx;
509 static int wpa_supplicant_install_ptk(struct wpa_sm *sm
    [all...]
tdls.c 87 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
125 static int wpa_tdls_get_privacy(struct wpa_sm *sm)
143 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
156 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer)
189 static int wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst,
198 static int wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code,
259 struct wpa_sm *sm = eloop_ctx;
307 static void wpa_tdls_tpk_retry_timeout_cancel(struct wpa_sm *sm,
561 struct wpa_sm *sm = eloop_ctx;
584 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer
    [all...]
  /external/wpa_supplicant/
preauth.h 22 void pmksa_candidate_free(struct wpa_sm *sm);
26 static inline void pmksa_candidate_free(struct wpa_sm *sm)
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
    [all...]
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...]
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)
81 pmksa_cache_get_current(struct wpa_sm *sm)
86 static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len)
102 static inline void pmksa_cache_clear_current(struct wpa_sm *sm)
106 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid
    [all...]
wpa_i.h 76 * struct wpa_sm - Internal WPA state machine data
78 struct wpa_sm { struct
139 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state)
144 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm)
149 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code)
154 static inline void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code)
159 static inline int wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg,
168 static inline struct wpa_ssid * wpa_sm_get_ssid(struct wpa_sm *sm)
173 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
    [all...]
preauth.c 43 void pmksa_candidate_free(struct wpa_sm *sm)
65 struct wpa_sm *sm = ctx;
87 struct wpa_sm *sm = ctx;
128 struct wpa_sm *sm = eloop_ctx;
140 struct wpa_sm *sm = ctx;
177 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct wpa_ssid *config)
267 void rsn_preauth_deinit(struct wpa_sm *sm)
294 void rsn_preauth_candidate_process(struct wpa_sm *sm)
357 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
431 void rsn_preauth_scan_results(struct wpa_sm *sm
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ibss_rsn.h 26 struct wpa_sm *supp;
  /external/wpa_supplicant_8/src/ap/
ap_mlme.c 182 if (sta->wpa_sm)
183 wpa_remove_ptk(sta->wpa_sm);

Completed in 2357 milliseconds

1 2