/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
H A 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) argument 41 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) argument 45 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument 51 rsn_preauth_deinit(struct wpa_sm *sm) argument 54 rsn_preauth_scan_results(struct wpa_sm *sm, struct wpa_scan_results *results) argument 59 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 65 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 71 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | wpa_i.h | 112 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) argument 114 WPA_ASSERT(sm->ctx->set_state); 115 sm->ctx->set_state(sm->ctx->ctx, state); 118 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument 120 WPA_ASSERT(sm->ctx->get_state); 121 return sm->ctx->get_state(sm->ctx->ctx); 124 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument 126 WPA_ASSERT(sm 130 wpa_sm_disassociate(struct wpa_sm *sm, int reason_code) argument 136 wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument 146 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument 152 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument 158 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument 165 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument 171 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument 177 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument 186 wpa_sm_add_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 193 wpa_sm_remove_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 200 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument 208 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument 216 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument [all...] |
H A D | wpa.c | 94 * @sm: Pointer to WPA state machine data from wpa_sm_init() 103 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, argument 107 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 112 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 116 dest = sm->bssid; 125 wpa_sm_ether_send(sm, dest, proto, msg, msg_len); 126 eapol_sm_notify_tx_eapol_key(sm->eapol); 133 * @sm: Pointer to WPA state machine data from wpa_sm_init() 141 void wpa_sm_key_request(struct wpa_sm *sm, in argument 192 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument 310 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 358 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument 376 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver) argument 457 struct wpa_sm *sm = eloop_ctx; local 462 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument 506 struct wpa_sm *sm = eloop_ctx; local 512 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument 631 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc) argument 673 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument 690 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument 739 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument 780 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument 818 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument 899 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument 942 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver) argument 1050 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument 1095 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, size_t keydatalen, int key_info, size_t extra_len, u16 ver, struct wpa_gtk_data *gd) argument 1170 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument 1205 wpa_supplicant_process_1_of_2(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, int extra_len, u16 ver) argument 1261 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument 1311 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver) argument 1371 wpa_sm_aborted_cached(struct wpa_sm *sm) argument 1430 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument 1689 wpa_key_mgmt_suite(struct wpa_sm *sm) argument 1720 wpa_cipher_suite(struct wpa_sm *sm, int cipher) argument 1757 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument 1829 struct wpa_sm *sm = ctx; local 1861 struct wpa_sm *sm; local 1889 wpa_sm_deinit(struct wpa_sm *sm) argument 1913 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 1958 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument 1974 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument 1997 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument 2017 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument 2029 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument 2048 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument 2086 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument 2099 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument 2114 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument 2128 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument 2189 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument 2233 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 2260 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument 2305 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2339 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2373 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2406 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument [all...] |
H A D | preauth.c | 43 * @sm: Pointer to WPA state machine data from wpa_sm_init() 45 void pmksa_candidate_free(struct wpa_sm *sm) argument 49 if (sm == NULL) 52 entry = sm->pmksa_candidates; 53 sm->pmksa_candidates = NULL; 65 struct wpa_sm *sm = ctx; local 70 if (sm->preauth_eapol == NULL || 71 is_zero_ether_addr(sm->preauth_bssid) || 72 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 79 eapol_sm_rx_eapol(sm 86 struct wpa_sm *sm = ctx; local 128 struct wpa_sm *sm = eloop_ctx; local 140 struct wpa_sm *sm = ctx; local 177 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument 267 rsn_preauth_deinit(struct wpa_sm *sm) argument 294 rsn_preauth_candidate_process(struct wpa_sm *sm) argument 359 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 433 rsn_preauth_scan_results(struct wpa_sm *sm, struct wpa_scan_results *results) argument 497 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 524 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | wpa.h | 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); 102 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 103 void wpa_sm_set_ifname(struct wpa_sm *sm, cons 138 wpa_sm_deinit(struct wpa_sm *sm) argument 142 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 146 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument 150 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument 155 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument 159 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument 163 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument 167 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument 172 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument 176 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument 181 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument 185 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 191 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument 198 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 204 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 210 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument 215 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument 222 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument 228 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 234 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument 245 wpa_sm_aborted_cached(struct wpa_sm *sm) argument 249 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument 255 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument 266 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument 288 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *mobility_domain, const u8 *r0kh_id, const u8 *r1kh_id) argument 294 wpa_ft_prepare_auth_request(struct wpa_sm *sm) argument 300 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap) argument 306 wpa_ft_is_completed(struct wpa_sm *sm) argument 312 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) argument [all...] |
H A D | wpa_ft.c | 26 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, argument 34 if (sm->xxkey_len == 0) { 40 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, sm->ssid, 41 sm->ssid_len, sm->mobility_domain, 42 sm->r0kh_id, sm->r0kh_id_len, sm 70 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *mobility_domain, const u8 *r0kh_id, size_t r0kh_id_len, const u8 *r1kh_id) argument 119 wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, const u8 *anonce, const u8 *pmk_name, const u8 *kck, const u8 *target_ap) argument 393 wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) argument 431 wpa_ft_prepare_auth_request(struct wpa_sm *sm) argument 454 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap) argument 580 wpa_ft_is_completed(struct wpa_sm *sm) argument 593 wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem, size_t gtk_elem_len) argument 679 wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem, size_t igtk_elem_len) argument 732 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) argument 846 wpa_ft_start_over_ds(struct wpa_sm *sm, const u8 *target_ap) argument [all...] |
/external/openssl/crypto/store/ |
H A D | str_meth.c | 86 int STORE_method_set_initialise_function(STORE_METHOD *sm, STORE_INITIALISE_FUNC_PTR init_f) argument 88 sm->init = init_f; 92 int STORE_method_set_cleanup_function(STORE_METHOD *sm, STORE_CLEANUP_FUNC_PTR clean_f) argument 94 sm->clean = clean_f; 98 int STORE_method_set_generate_function(STORE_METHOD *sm, STORE_GENERATE_OBJECT_FUNC_PTR generate_f) argument 100 sm->generate_object = generate_f; 104 int STORE_method_set_get_function(STORE_METHOD *sm, STORE_GET_OBJECT_FUNC_PTR get_f) argument 106 sm->get_object = get_f; 110 int STORE_method_set_store_function(STORE_METHOD *sm, STORE_STORE_OBJECT_FUNC_PTR store_f) argument 112 sm 116 STORE_method_set_modify_function(STORE_METHOD *sm, STORE_MODIFY_OBJECT_FUNC_PTR modify_f) argument 122 STORE_method_set_revoke_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR revoke_f) argument 128 STORE_method_set_delete_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR delete_f) argument 134 STORE_method_set_list_start_function(STORE_METHOD *sm, STORE_START_OBJECT_FUNC_PTR list_start_f) argument 140 STORE_method_set_list_next_function(STORE_METHOD *sm, STORE_NEXT_OBJECT_FUNC_PTR list_next_f) argument 146 STORE_method_set_list_end_function(STORE_METHOD *sm, STORE_END_OBJECT_FUNC_PTR list_end_f) argument 152 STORE_method_set_update_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR update_f) argument 158 STORE_method_set_lock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR lock_f) argument 164 STORE_method_set_unlock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR unlock_f) argument 170 STORE_method_set_ctrl_function(STORE_METHOD *sm, STORE_CTRL_FUNC_PTR ctrl_f) argument 176 STORE_method_get_initialise_function(STORE_METHOD *sm) argument 181 STORE_method_get_cleanup_function(STORE_METHOD *sm) argument 186 STORE_method_get_generate_function(STORE_METHOD *sm) argument 191 STORE_method_get_get_function(STORE_METHOD *sm) argument 196 STORE_method_get_store_function(STORE_METHOD *sm) argument 201 STORE_method_get_modify_function(STORE_METHOD *sm) argument 206 STORE_method_get_revoke_function(STORE_METHOD *sm) argument 211 STORE_method_get_delete_function(STORE_METHOD *sm) argument 216 STORE_method_get_list_start_function(STORE_METHOD *sm) argument 221 STORE_method_get_list_next_function(STORE_METHOD *sm) argument 226 STORE_method_get_list_end_function(STORE_METHOD *sm) argument 231 STORE_method_get_update_store_function(STORE_METHOD *sm) argument 236 STORE_method_get_lock_store_function(STORE_METHOD *sm) argument 241 STORE_method_get_unlock_store_function(STORE_METHOD *sm) argument 246 STORE_method_get_ctrl_function(STORE_METHOD *sm) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
H A D | eap.c | 37 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 40 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 42 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 43 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 44 static int eap_sm_nextId(struct eap_sm *sm, int id); 45 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 47 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor); 48 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 49 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method); 87 * @sm 98 eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, int phase2) argument 798 eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, int eapSRTT, int eapRTTVAR, int methodTimeout) argument 850 eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) argument 920 eap_sm_buildSuccess(struct eap_sm *sm, u8 id) argument 938 eap_sm_buildFailure(struct eap_sm *sm, u8 id) argument 956 eap_sm_nextId(struct eap_sm *sm, int id) argument 978 eap_sm_process_nak(struct eap_sm *sm, const u8 *nak_list, size_t len) argument 1029 eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, size_t len) argument 1046 eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor) argument 1078 eap_sm_Policy_getDecision(struct eap_sm *sm) argument 1153 eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method) argument 1168 eap_server_sm_step(struct eap_sm *sm) argument 1204 struct eap_sm *sm; local 1255 eap_server_sm_deinit(struct eap_sm *sm) argument 1286 eap_sm_notify_cached(struct eap_sm *sm) argument 1301 eap_sm_pending_cb(struct eap_sm *sm) argument 1316 eap_sm_method_pending(struct eap_sm *sm) argument 1330 eap_get_identity(struct eap_sm *sm, size_t *len) argument 1342 eap_get_interface(struct eap_sm *sm) argument [all...] |
H A D | eap_gtc.c | 27 static void * eap_gtc_init(struct eap_sm *sm) argument 37 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && 38 sm->m->method == EAP_TYPE_FAST) { 49 static void eap_gtc_reset(struct eap_sm *sm, void *priv) argument 56 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id) argument 83 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv, argument 99 static void eap_gtc_process(struct eap_sm *sm, void *priv, argument 137 if (sm->identity && sm 194 eap_gtc_isDone(struct eap_sm *sm, void *priv) argument 201 eap_gtc_isSuccess(struct eap_sm *sm, void *priv) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 188 static void eapol_sm_txLogoff(struct eapol_sm *sm); 189 static void eapol_sm_txStart(struct eapol_sm *sm); 190 static void eapol_sm_processKey(struct eapol_sm *sm); 191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 193 static void eapol_sm_abortSupp(struct eapol_sm *sm); 194 static void eapol_sm_abort_cached(struct eapol_sm *sm); 202 struct eapol_sm *sm = timeout_ctx; local 204 if (sm->authWhile > 0) { 205 sm 236 eapol_enable_timer_tick(struct eapol_sm *sm) argument 616 eapol_sm_txLogoff(struct eapol_sm *sm) argument 626 eapol_sm_txStart(struct eapol_sm *sm) argument 645 eapol_sm_processKey(struct eapol_sm *sm) argument 808 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument 818 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument 847 eapol_sm_abortSupp(struct eapol_sm *sm) argument 873 eapol_sm_step(struct eapol_sm *sm) argument 994 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 1024 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 1076 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 1146 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 1267 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 1281 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 1299 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 1321 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 1343 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 1367 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument 1402 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 1436 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 1452 eapol_sm_notify_cached(struct eapol_sm *sm) argument 1472 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm, int attempt) argument 1486 eapol_sm_abort_cached(struct eapol_sm *sm) argument 1514 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument 1530 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 1548 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 1563 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 1585 eapol_sm_request_reauth(struct eapol_sm *sm) argument 1603 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument 1617 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument 1626 struct eapol_sm *sm = ctx; local 1633 struct eapol_sm *sm = ctx; local 1643 struct eapol_sm *sm = ctx; local 1673 struct eapol_sm *sm = ctx; local 1710 struct eapol_sm *sm = ctx; local 1724 struct eapol_sm *sm = ctx; local 1739 struct eapol_sm *sm = ctx; local 1750 struct eapol_sm *sm = ctx; local 1763 struct eapol_sm *sm = ctx; local 1780 struct eapol_sm *sm = ctx; local 1815 struct eapol_sm *sm; local 1865 eapol_sm_deinit(struct eapol_sm *sm) argument [all...] |
H A D | eapol_supp_sm.h | 225 void eapol_sm_deinit(struct eapol_sm *sm); 226 void eapol_sm_step(struct eapol_sm *sm); 227 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 229 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 230 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 232 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 234 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 235 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 236 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 237 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolea 259 eapol_sm_deinit(struct eapol_sm *sm) argument 262 eapol_sm_step(struct eapol_sm *sm) argument 265 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 270 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 275 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 280 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 285 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 288 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 292 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 296 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 300 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 303 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf) argument 308 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 312 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 315 eapol_sm_notify_cached(struct eapol_sm *sm) argument 320 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 324 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 327 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 330 eapol_sm_request_reauth(struct eapol_sm *sm) argument 333 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument 337 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
H A D | eap.c | 42 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 44 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 45 static void eap_sm_processIdentity(struct eap_sm *sm, 47 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 49 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 57 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument 59 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, argument 66 sm 70 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument 76 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument 83 eapol_get_eapReqData(struct eap_sm *sm) argument 89 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument 109 eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument 515 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument 545 eap_peer_sm_step_idle(struct eap_sm *sm) argument 577 eap_peer_req_is_duplicate(struct eap_sm *sm) argument 603 eap_peer_sm_step_received(struct eap_sm *sm) argument 652 eap_peer_sm_step_local(struct eap_sm *sm) argument 735 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument 751 eap_sm_build_expanded_nak( struct eap_sm *sm, int id, const struct eap_method *methods, size_t count) argument 798 eap_sm_buildNak(struct eap_sm *sm, int id) argument 847 eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) argument 871 eap_sm_imsi_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument 914 eap_sm_set_scard_pin(struct eap_sm *sm, struct eap_peer_config *conf) argument 936 eap_sm_get_scard_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument 961 eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) argument 1021 eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) argument 1060 eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) argument 1175 struct eap_sm *sm; local 1210 eap_peer_sm_deinit(struct eap_sm *sm) argument 1230 eap_peer_sm_step(struct eap_sm *sm) argument 1250 eap_sm_abort(struct eap_sm *sm) argument 1354 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument 1420 eap_sm_request(struct eap_sm *sm, eap_ctrl_req_type type, const char *msg, size_t msglen) argument 1499 eap_sm_request_identity(struct eap_sm *sm) argument 1514 eap_sm_request_password(struct eap_sm *sm) argument 1529 eap_sm_request_new_password(struct eap_sm *sm) argument 1544 eap_sm_request_pin(struct eap_sm *sm) argument 1560 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument 1575 eap_sm_request_passphrase(struct eap_sm *sm) argument 1588 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument 1695 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument 1706 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument 1722 eap_get_config(struct eap_sm *sm) argument 1734 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument 1750 eap_get_config_password(struct eap_sm *sm, size_t *len) argument 1769 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) argument 1787 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument 1803 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument 1821 eap_clear_config_otp(struct eap_sm *sm) argument 1838 eap_get_config_phase1(struct eap_sm *sm) argument 1852 eap_get_config_phase2(struct eap_sm *sm) argument 1866 eap_key_available(struct eap_sm *sm) argument 1881 eap_notify_success(struct eap_sm *sm) argument 1897 eap_notify_lower_layer_success(struct eap_sm *sm) argument 1928 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument 1950 eap_get_eapRespData(struct eap_sm *sm) argument 1972 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument 1987 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument 2001 eap_get_config_blob(struct eap_sm *sm, const char *name) argument 2020 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument 2035 eap_notify_pending(struct eap_sm *sm) argument 2045 eap_invalidate_cached_session(struct eap_sm *sm) argument [all...] |
H A D | eap.h | 259 void eap_peer_sm_deinit(struct eap_sm *sm); 260 int eap_peer_sm_step(struct eap_sm *sm); 261 void eap_sm_abort(struct eap_sm *sm); 262 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 264 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 265 void eap_sm_request_identity(struct eap_sm *sm); 266 void eap_sm_request_password(struct eap_sm *sm); 267 void eap_sm_request_new_password(struct eap_sm *sm); 268 void eap_sm_request_pin(struct eap_sm *sm); 269 void eap_sm_request_otp(struct eap_sm *sm, cons [all...] |
H A D | eap_i.h | 87 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 95 void * (*init)(struct eap_sm *sm); 99 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 104 void (*deinit)(struct eap_sm *sm, void *priv); 108 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 121 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 127 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 131 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 135 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 144 u8 * (*getKey)(struct eap_sm *sm, voi [all...] |
/external/wpa_supplicant/ |
H A D | eapol_sm.c | 188 static void eapol_sm_txLogoff(struct eapol_sm *sm); 189 static void eapol_sm_txStart(struct eapol_sm *sm); 190 static void eapol_sm_processKey(struct eapol_sm *sm); 191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 193 static void eapol_sm_abortSupp(struct eapol_sm *sm); 194 static void eapol_sm_abort_cached(struct eapol_sm *sm); 202 struct eapol_sm *sm = timeout_ctx; local 204 if (sm->authWhile > 0) { 205 sm 591 eapol_sm_txLogoff(struct eapol_sm *sm) argument 601 eapol_sm_txStart(struct eapol_sm *sm) argument 620 eapol_sm_processKey(struct eapol_sm *sm) argument 783 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument 793 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument 822 eapol_sm_abortSupp(struct eapol_sm *sm) argument 848 eapol_sm_step(struct eapol_sm *sm) argument 969 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 999 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 1051 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 1121 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 1220 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 1234 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 1252 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 1274 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 1296 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 1320 eapol_sm_notify_config(struct eapol_sm *sm, struct wpa_ssid *config, const struct eapol_config *conf) argument 1353 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 1377 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 1393 eapol_sm_notify_cached(struct eapol_sm *sm) argument 1410 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm, int attempt) argument 1424 eapol_sm_abort_cached(struct eapol_sm *sm) argument 1451 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument 1467 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 1485 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 1500 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 1522 eapol_sm_request_reauth(struct eapol_sm *sm) argument 1538 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm) argument 1550 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument 1559 struct eapol_sm *sm = ctx; local 1566 struct eapol_sm *sm = ctx; local 1579 struct eapol_sm *sm = ctx; local 1609 struct eapol_sm *sm = ctx; local 1646 struct eapol_sm *sm = ctx; local 1660 struct eapol_sm *sm = ctx; local 1673 struct eapol_sm *sm = ctx; local 1682 struct eapol_sm *sm = ctx; local 1692 struct eapol_sm *sm = ctx; local 1729 struct eapol_sm *sm; local 1775 eapol_sm_deinit(struct eapol_sm *sm) argument [all...] |
H A D | eapol_sm.h | 207 void eapol_sm_deinit(struct eapol_sm *sm); 208 void eapol_sm_step(struct eapol_sm *sm); 209 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 211 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 212 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 214 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 216 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 217 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 218 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 219 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolea 240 eapol_sm_deinit(struct eapol_sm *sm) argument 243 eapol_sm_step(struct eapol_sm *sm) argument 246 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 251 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 256 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 261 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 266 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 269 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 273 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 277 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 281 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 284 eapol_sm_notify_config(struct eapol_sm *sm, struct wpa_ssid *config, struct eapol_config *conf) argument 289 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 293 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 296 eapol_sm_notify_cached(struct eapol_sm *sm) argument 301 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 305 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 308 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 311 eapol_sm_request_reauth(struct eapol_sm *sm) argument 314 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm) argument 317 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument [all...] |
H A D | eap.c | 41 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 43 static u8 * eap_sm_buildNak(struct eap_sm *sm, int id, size_t *len); 44 static void eap_sm_processIdentity(struct eap_sm *sm, const u8 *req); 45 static void eap_sm_processNotify(struct eap_sm *sm, const u8 *req); 47 static void eap_sm_parseEapReq(struct eap_sm *sm, const u8 *req, size_t len); 55 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument 57 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 61 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, argument 64 sm 68 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument 74 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument 81 eapol_get_eapReqData(struct eap_sm *sm, size_t *len) argument 87 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument 499 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument 690 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument 708 eap_sm_build_expanded_nak(struct eap_sm *sm, int id, size_t *len, const struct eap_method *methods, size_t count) argument 771 eap_sm_buildNak(struct eap_sm *sm, int id, size_t *len) argument 829 eap_sm_processIdentity(struct eap_sm *sm, const u8 *req) argument 853 eap_sm_imsi_identity(struct eap_sm *sm, struct wpa_ssid *ssid) argument 895 eap_sm_set_scard_pin(struct eap_sm *sm, struct wpa_ssid *ssid) argument 916 eap_sm_get_scard_identity(struct eap_sm *sm, struct wpa_ssid *ssid) argument 941 eap_sm_buildIdentity(struct eap_sm *sm, int id, size_t *len, int encrypted) argument 1008 eap_sm_processNotify(struct eap_sm *sm, const u8 *req) argument 1058 eap_sm_parseEapReq(struct eap_sm *sm, const u8 *req, size_t len) argument 1169 struct eap_sm *sm; local 1203 eap_sm_deinit(struct eap_sm *sm) argument 1223 eap_sm_step(struct eap_sm *sm) argument 1243 eap_sm_abort(struct eap_sm *sm) argument 1347 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument 1413 eap_sm_request(struct eap_sm *sm, eap_ctrl_req_type type, const char *msg, size_t msglen) argument 1513 eap_sm_request_identity(struct eap_sm *sm) argument 1528 eap_sm_request_password(struct eap_sm *sm) argument 1543 eap_sm_request_new_password(struct eap_sm *sm) argument 1558 eap_sm_request_pin(struct eap_sm *sm) argument 1574 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument 1589 eap_sm_request_passphrase(struct eap_sm *sm) argument 1602 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument 1709 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument 1720 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument 1736 eap_get_config(struct eap_sm *sm) argument 1748 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument 1764 eap_get_config_password(struct eap_sm *sm, size_t *len) argument 1780 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument 1796 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument 1814 eap_clear_config_otp(struct eap_sm *sm) argument 1831 eap_key_available(struct eap_sm *sm) argument 1846 eap_notify_success(struct eap_sm *sm) argument 1862 eap_notify_lower_layer_success(struct eap_sm *sm) argument 1893 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument 1916 eap_get_eapRespData(struct eap_sm *sm, size_t *len) argument 1942 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument 2028 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument 2040 eap_get_config_blob(struct eap_sm *sm, const char *name) argument 2055 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument 2120 eap_notify_pending(struct eap_sm *sm) argument 2130 eap_invalidate_cached_session(struct eap_sm *sm) argument [all...] |
H A D | preauth.c | 41 * @sm: Pointer to WPA state machine data from wpa_sm_init() 43 void pmksa_candidate_free(struct wpa_sm *sm) argument 47 if (sm == NULL) 50 entry = sm->pmksa_candidates; 51 sm->pmksa_candidates = NULL; 65 struct wpa_sm *sm = ctx; local 70 if (sm->preauth_eapol == NULL || 71 os_memcmp(sm->preauth_bssid, "\x00\x00\x00\x00\x00\x00", 73 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 80 eapol_sm_rx_eapol(sm 87 struct wpa_sm *sm = ctx; local 128 struct wpa_sm *sm = eloop_ctx; local 140 struct wpa_sm *sm = ctx; local 177 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct wpa_ssid *config) argument 267 rsn_preauth_deinit(struct wpa_sm *sm) argument 294 rsn_preauth_candidate_process(struct wpa_sm *sm) argument 357 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 431 rsn_preauth_scan_results(struct wpa_sm *sm, struct wpa_scan_result *results, int count) argument 492 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 519 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 26 static inline void pmksa_candidate_free(struct wpa_sm *sm) argument 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) argument 53 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct wpa_ssid *config) argument 59 rsn_preauth_deinit(struct wpa_sm *sm) argument 62 rsn_preauth_scan_results(struct wpa_sm *sm, struct wpa_scan_result *results, int count) argument 68 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 74 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 80 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | state_machine.h | 39 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 53 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 54 sm->changed = TRUE; \ 58 sm->machine ## _state = machine ## _ ## state; 72 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 73 sm->changed = TRUE; \ 77 sm->data ## _ ## state = machine ## _ ## _state; 90 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 91 sm->changed = TRUE; \ 96 sm [all...] |
H A D | eap.h | 242 void eap_sm_deinit(struct eap_sm *sm); 243 int eap_sm_step(struct eap_sm *sm); 244 void eap_sm_abort(struct eap_sm *sm); 245 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 247 u8 * eap_sm_buildIdentity(struct eap_sm *sm, int id, size_t *len, 249 void eap_sm_request_identity(struct eap_sm *sm); 250 void eap_sm_request_password(struct eap_sm *sm); 251 void eap_sm_request_new_password(struct eap_sm *sm); 252 void eap_sm_request_pin(struct eap_sm *sm); 253 void eap_sm_request_otp(struct eap_sm *sm, cons [all...] |
H A D | wpa.h | 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); 120 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 121 void wpa_sm_set_ifname(struct wpa_sm *sm, cons 158 wpa_sm_deinit(struct wpa_sm *sm) argument 162 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 166 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument 170 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument 175 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument 179 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument 183 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument 187 wpa_sm_set_config(struct wpa_sm *sm, struct wpa_ssid *config) argument 192 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument 196 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument 201 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument 205 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 211 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument 218 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 224 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 230 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument 235 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument 242 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument 248 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 254 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument 259 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument 270 wpa_sm_aborted_cached(struct wpa_sm *sm) argument 274 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument 280 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument [all...] |
H A D | wpa_i.h | 139 static inline void wpa_sm_set_state(struct wpa_sm *sm, wpa_states state) argument 141 sm->ctx->set_state(sm->ctx->ctx, state); 144 static inline wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument 146 return sm->ctx->get_state(sm->ctx->ctx); 149 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument 151 sm->ctx->deauthenticate(sm->ctx->ctx, reason_code); 154 static inline void wpa_sm_disassociate(struct wpa_sm *sm, in argument 159 wpa_sm_set_key(struct wpa_sm *sm, wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument 168 wpa_sm_get_ssid(struct wpa_sm *sm) argument 173 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument 178 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument 184 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument 189 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument 194 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument 202 wpa_sm_add_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 208 wpa_sm_remove_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 214 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
H A D | state_machine.h | 39 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 53 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 54 sm->changed = TRUE; \ 58 sm->machine ## _state = machine ## _ ## state; 72 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 73 sm->changed = TRUE; \ 77 sm->data ## _ ## state = machine ## _ ## _state; 90 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 91 sm->changed = TRUE; \ 96 sm [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps_upnp.c | 494 * @sm: WPS UPnP state machine from upnp_wps_device_init() 497 * subscribed UPnP control points. sm->wlanevent must have been set with the 500 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) argument 512 if (sm->subscriptions == NULL) { 520 if (sm->wlanevent) 521 buf_size += os_strlen(sm->wlanevent); 528 wpabuf_put_property(buf, "WLANEvent", sm->wlanevent); 534 s = sm->subscriptions; 546 } while (s != sm->subscriptions); 561 struct upnp_wps_device_sm *sm local 581 struct upnp_wps_device_sm *sm = s->sm; local 609 subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument 623 subscription_find(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument 742 subscription_start(struct upnp_wps_device_sm *sm, const char *callback_urls) argument 790 subscription_renew(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument 819 upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg) argument 992 upnp_wps_device_stop(struct upnp_wps_device_sm *sm) argument 1035 upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) argument 1096 upnp_wps_device_deinit(struct upnp_wps_device_sm *sm) argument 1123 struct upnp_wps_device_sm *sm; local 1144 upnp_wps_subscribers(struct upnp_wps_device_sm *sm) argument [all...] |