Searched defs:sm (Results 251 - 275 of 306) sorted by relevance

<<111213

/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_proxy_qmi_oc.c102 static void eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm,
107 static Boolean eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm,
120 static int eap_proxy_is_state_changed(struct eap_proxy_sm *sm);
1022 struct eap_proxy_sm *sm = (struct eap_proxy_sm *)ind_cb_data; local
1027 wpa_printf(MSG_ERROR, "eap_proxy: Handle_qmi_eap_ind msgId =%d sm=%p\n", msg_id,sm);
1042 sm->srvc_result = EAP_PROXY_QMI_SRVC_FAILURE;
1046 (QMI_STATE_RESP_TIME_OUT != sm->qmi_state)) {
1047 sm->proxy_state = EAP_PROXY_AUTH_SUCCESS;
1048 sm
1443 eap_proxy_key_available(struct eap_proxy_sm *sm) argument
1449 eap_proxy_is_state_changed(struct eap_proxy_sm *sm) argument
1474 eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) argument
1574 eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var, Boolean value) argument
1581 eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var) argument
1588 eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) argument
1616 eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len) argument
1623 eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len) argument
1630 eap_proxy_sm_abort(struct eap_proxy_sm *sm) argument
2129 eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, int verbose) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eapol_supp/
H A Deapol_supp_sm.c152 static void eapol_sm_txLogoff(struct eapol_sm *sm);
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
161 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm);
168 struct eapol_sm *sm local
202 eapol_enable_timer_tick(struct eapol_sm *sm) argument
645 eapol_sm_txLogoff(struct eapol_sm *sm) argument
655 eapol_sm_txStart(struct eapol_sm *sm) argument
674 eapol_sm_processKey(struct eapol_sm *sm) argument
853 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument
863 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument
905 eapol_sm_abortSupp(struct eapol_sm *sm) argument
926 eapol_sm_set_port_authorized(struct eapol_sm *sm) argument
938 eapol_sm_set_port_unauthorized(struct eapol_sm *sm) argument
958 eapol_sm_step(struct eapol_sm *sm) argument
1092 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
1113 eapol_sm_get_method_name(struct eapol_sm *sm) argument
1137 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
1196 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
1266 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
1422 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
1436 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
1456 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
1478 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
1500 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
1524 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument
1570 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
1624 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len) argument
1641 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
1661 eapol_sm_notify_cached(struct eapol_sm *sm) argument
1678 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm) argument
1687 eapol_sm_abort_cached(struct eapol_sm *sm) argument
1715 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument
1731 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
1749 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
1764 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
1786 eapol_sm_request_reauth(struct eapol_sm *sm) argument
1804 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
1818 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
1827 struct eapol_sm *sm = ctx; local
1834 struct eapol_sm *sm = ctx; local
1844 struct eapol_sm *sm = ctx; local
1876 struct eapol_sm *sm = ctx; local
1916 struct eapol_sm *sm = ctx; local
1930 struct eapol_sm *sm = ctx; local
1946 struct eapol_sm *sm = ctx; local
1957 struct eapol_sm *sm = ctx; local
1970 struct eapol_sm *sm = ctx; local
1987 struct eapol_sm *sm = ctx; local
2001 struct eapol_sm *sm = ctx; local
2011 struct eapol_sm *sm = ctx; local
2019 struct eapol_sm *sm = ctx; local
2029 struct eapol_sm *sm = ctx; local
2040 struct eapol_sm *sm = ctx; local
2051 struct eapol_sm *sm = ctx; local
2092 struct eapol_sm *sm; local
2151 eapol_sm_deinit(struct eapol_sm *sm) argument
2168 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
2176 eapol_sm_failed(struct eapol_sm *sm) argument
2187 struct eapol_sm *sm = ctx; local
2196 eapol_sm_erp_flush(struct eapol_sm *sm) argument
2203 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm) argument
2215 eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf, size_t len) argument
2226 eapol_sm_update_erp_next_seq_num(struct eapol_sm *sm, u16 next_seq_num) argument
2238 eapol_sm_get_erp_info(struct eapol_sm *sm, struct eap_peer_config *config, const u8 **username, size_t *username_len, const u8 **realm, size_t *realm_len, u16 *erp_next_seq_num, const u8 **rrk, size_t *rrk_len) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm) argument
166 return sm->pairwise_cipher != WPA_CIPHER_NONE;
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
179 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr,
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
223 sm->pairwise_cipher);
229 if (wpa_sm_set_key(sm, al
240 wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
251 wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *msg, size_t msg_len) argument
319 wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u16 reason_code) argument
335 struct wpa_sm *sm = eloop_ctx; local
381 wpa_tdls_tpk_retry_timeout_cancel(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 action_code) argument
633 struct wpa_sm *sm = eloop_ctx; local
663 wpa_tdls_peer_remove_from_list(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
689 wpa_tdls_peer_clear(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
722 wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
730 wpa_tdls_linkid(struct wpa_sm *sm, struct wpa_tdls_peer *peer, struct wpa_tdls_lnkid *lnkid) argument
746 wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
840 wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
868 wpa_tdls_disable_peer_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
876 wpa_tdls_disable_unreachable_link(struct wpa_sm *sm, const u8 *addr) argument
909 wpa_tdls_get_link_status(struct wpa_sm *sm, const u8 *addr) argument
931 wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
1019 wpa_tdls_send_error(struct wpa_sm *sm, const u8 *dst, u8 tdls_action, u8 dialog_token, int initiator, u16 status) argument
1032 wpa_tdls_add_peer(struct wpa_sm *sm, const u8 *addr, int *existing) argument
1061 wpa_tdls_send_tpk_m1(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
1242 wpa_tdls_send_tpk_m2(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1333 wpa_tdls_send_tpk_m3(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1431 wpa_tdls_send_discovery_response(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 dialog_token) argument
1518 wpa_tdls_process_discovery_request(struct wpa_sm *sm, const u8 *addr, const u8 *buf, size_t len) argument
1573 wpa_tdls_send_discovery_request(struct wpa_sm *sm, const u8 *addr) argument
1754 wpa_tdls_addset_peer(struct wpa_sm *sm, struct wpa_tdls_peer *peer, int add) argument
1784 wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2138 wpa_tdls_enable_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
2173 wpa_tdls_process_tpk_m2(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2462 wpa_tdls_process_tpk_m3(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2644 wpa_tdls_start(struct wpa_sm *sm, const u8 *addr) argument
2696 wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr) argument
2730 struct wpa_sm *sm = ctx; local
2796 wpa_tdls_init(struct wpa_sm *sm) argument
2834 wpa_tdls_teardown_peers(struct wpa_sm *sm) argument
2859 wpa_tdls_remove_peers(struct wpa_sm *sm) argument
2883 wpa_tdls_deinit(struct wpa_sm *sm) argument
2896 wpa_tdls_assoc(struct wpa_sm *sm) argument
2903 wpa_tdls_disassoc(struct wpa_sm *sm) argument
2924 wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2946 wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2970 wpa_tdls_enable(struct wpa_sm *sm, int enabled) argument
2977 wpa_tdls_is_external_setup(struct wpa_sm *sm) argument
2983 wpa_tdls_enable_chan_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, struct hostapd_freq_params *freq_params) argument
3032 wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr) argument
[all...]
H A Dwpa.c38 * @sm: Pointer to WPA state machine data from wpa_sm_init()
48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, argument
53 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len);
57 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt);
58 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) {
63 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) {
64 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG,
68 dest = sm
177 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument
242 wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) argument
260 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument
423 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
514 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
529 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
639 struct wpa_sm *sm = eloop_ctx; local
644 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument
692 struct wpa_sm *sm = eloop_ctx; local
698 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument
767 wpa_supplicant_check_group_cipher(struct wpa_sm *sm, int group_cipher, int keylen, int maxkeylen, int *key_rsc_len, enum wpa_alg *alg) argument
803 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc, int wnm_sleep) argument
869 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument
887 wpa_supplicant_rsc_relaxation(const struct wpa_sm *sm, const u8 *rsc) argument
917 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
972 wpa_supplicant_install_igtk(struct wpa_sm *sm, const struct wpa_igtk_kde *igtk, int wnm_sleep) argument
1023 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument
1050 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
1090 ft_validate_mdie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_mdie) argument
1121 ft_validate_ftie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_ftie) argument
1149 ft_validate_rsnie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1185 wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1220 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1293 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, struct wpa_ptk *ptk) argument
1335 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
1465 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
1516 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1603 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1644 wpa_supplicant_process_1_of_2(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 ver) argument
1715 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
1780 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, size_t mic_len, u16 ver, u8 *key_data, size_t *key_data_len) argument
1865 wpa_sm_aborted_cached(struct wpa_sm *sm) argument
1875 wpa_eapol_key_dump(struct wpa_sm *sm, const struct wpa_eapol_key *key, unsigned int key_data_len, const u8 *mic, unsigned int mic_len) argument
1913 wpa_supp_aead_decrypt(struct wpa_sm *sm, u8 *buf, size_t buf_len, size_t *key_data_len) argument
1998 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2269 wpa_key_mgmt_suite(struct wpa_sm *sm) argument
2322 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument
2398 struct wpa_sm *sm = ctx; local
2446 struct wpa_sm *sm; local
2475 wpa_sm_deinit(struct wpa_sm *sm) argument
2514 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
2591 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument
2627 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid) argument
2659 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument
2683 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument
2695 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument
2714 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
2761 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument
2774 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument
2789 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
2803 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument
2873 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
2912 wpa_sm_pmf_enabled(struct wpa_sm *sm) argument
2934 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
2993 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3027 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3061 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3094 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument
3110 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument
3116 wpa_sm_pmksa_cache_head(struct wpa_sm *sm) argument
3123 wpa_sm_pmksa_cache_add_entry(struct wpa_sm *sm, struct rsn_pmksa_cache_entry * entry) argument
3130 wpa_sm_pmksa_cache_add(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid, const u8 *fils_cache_id) argument
3140 wpa_sm_pmksa_exists(struct wpa_sm *sm, const u8 *bssid, const void *network_ctx) argument
3147 wpa_sm_drop_sa(struct wpa_sm *sm) argument
3169 wpa_sm_has_ptk(struct wpa_sm *sm) argument
3177 wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) argument
3183 wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) argument
3190 wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf) argument
3251 wpa_sm_get_p2p_ip_addr(struct wpa_sm *sm, u8 *buf) argument
3262 wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter) argument
3274 wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, size_t ptk_kck_len, const u8 *ptk_kek, size_t ptk_kek_len) argument
3294 wpa_sm_set_test_assoc_ie(struct wpa_sm *sm, struct wpabuf *buf) argument
3301 wpa_sm_get_anonce(struct wpa_sm *sm) argument
3311 fils_build_auth(struct wpa_sm *sm, int dh_group, const u8 *md) argument
3442 fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, size_t len) argument
3736 fils_ft_build_assoc_req_rsne(struct wpa_sm *sm, struct wpabuf *buf) argument
3839 fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, size_t *kek_len, const u8 **snonce, const u8 **anonce, const struct wpabuf **hlp, unsigned int num_hlp) argument
3940 fils_process_hlp_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
3956 fils_process_hlp_container(struct wpa_sm *sm, const u8 *pos, size_t len) argument
4005 fils_process_assoc_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
4173 wpa_sm_set_reset_fils_completed(struct wpa_sm *sm, int set) argument
4182 wpa_fils_is_completed(struct wpa_sm *sm) argument
4194 owe_build_assoc_req(struct wpa_sm *sm, u16 group) argument
4239 owe_process_assoc_resp(struct wpa_sm *sm, const u8 *bssid, const u8 *resp_ies, size_t resp_ies_len) argument
4397 wpa_sm_set_fils_cache_id(struct wpa_sm *sm, const u8 *fils_cache_id) argument
[all...]
H A Dwpa_i.h170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) argument
172 WPA_ASSERT(sm->ctx->set_state);
173 sm->ctx->set_state(sm->ctx->ctx, state);
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument
178 WPA_ASSERT(sm->ctx->get_state);
179 return sm->ctx->get_state(sm->ctx->ctx);
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument
184 WPA_ASSERT(sm
188 wpa_sm_set_key(struct wpa_sm *sm, enum 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
198 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument
204 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument
210 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument
217 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument
223 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument
229 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument
238 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id, const u8 *pmk, size_t pmk_len) argument
248 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id) argument
257 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument
265 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument
273 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument
283 wpa_sm_mark_authenticated(struct wpa_sm *sm, const u8 *target_ap) argument
291 wpa_sm_set_rekey_offload(struct wpa_sm *sm) argument
301 wpa_sm_tdls_get_capa(struct wpa_sm *sm, int *tdls_supported, int *tdls_ext_setup, int *tdls_chan_switch) argument
312 wpa_sm_send_tdls_mgmt(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
326 wpa_sm_tdls_oper(struct wpa_sm *sm, int oper, const u8 *peer) argument
335 wpa_sm_tdls_peer_addset(struct wpa_sm *sm, const u8 *addr, int add, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u8 qosinfo, int wmm, const u8 *ext_capab, size_t ext_capab_len, const u8 *supp_channels, size_t supp_channels_len, const u8 *supp_oper_classes, size_t supp_oper_classes_len) argument
359 wpa_sm_tdls_enable_channel_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, const struct hostapd_freq_params *freq_params) argument
371 wpa_sm_tdls_disable_channel_switch(struct wpa_sm *sm, const u8 *addr) argument
379 wpa_sm_key_mgmt_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument
387 wpa_sm_fils_hlp_rx(struct wpa_sm *sm, const u8 *dst, const u8 *src, const u8 *pkt, size_t pkt_len) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dieee802_1x.c145 struct eapol_state_machine *sm = sta->eapol_sm; local
147 if (sm == NULL)
178 if (sm->eap_if->eapKeyData == NULL || sm->eap_if->eapKeyDataLen < 64) {
193 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32);
202 hmac_md5(sm->eap_if->eapKeyData + 32, 32, buf, sizeof(*hdr) + len,
206 " (%s index=%d)", MAC2STR(sm->addr),
218 struct eapol_state_machine *sm = sta->eapol_sm; local
220 if (sm == NULL || !sm
304 ieee802_1x_learn_identity(struct hostapd_data *hapd, struct eapol_state_machine *sm, const u8 *eap, size_t len) argument
599 struct eapol_state_machine *sm = sta->eapol_sm; local
734 struct eapol_state_machine *sm = sta->eapol_sm; local
767 struct eapol_state_machine *sm = sta->eapol_sm; local
1240 struct eapol_state_machine *sm = sta->eapol_sm; local
1275 struct eapol_state_machine *sm = sta->eapol_sm; local
1351 struct eapol_state_machine *sm = sta->eapol_sm; local
1396 struct eapol_state_machine *sm = sta->eapol_sm; local
1451 struct eapol_state_machine *sm = sta->eapol_sm; local
1481 struct eapol_state_machine *sm = sta->eapol_sm; local
1645 struct eapol_state_machine *sm; member in struct:sta_id_search
1654 struct eapol_state_machine *sm = sta->eapol_sm; local
1694 struct eapol_state_machine *sm; local
1890 struct eapol_state_machine *sm = sta->eapol_sm; local
2012 struct eapol_state_machine *sm = sta->eapol_sm; local
2419 ieee802_1x_get_identity(struct eapol_state_machine *sm, size_t *len) argument
2429 ieee802_1x_get_radius_class(struct eapol_state_machine *sm, size_t *len, int idx) argument
2441 ieee802_1x_get_radius_cui(struct eapol_state_machine *sm) argument
2449 ieee802_1x_get_key(struct eapol_state_machine *sm, size_t *len) argument
2460 ieee802_1x_notify_port_enabled(struct eapol_state_machine *sm, int enabled) argument
2470 ieee802_1x_notify_port_valid(struct eapol_state_machine *sm, int valid) argument
2480 ieee802_1x_notify_pre_auth(struct eapol_state_machine *sm, int pre_auth) argument
2508 struct eapol_state_machine *sm = sta->eapol_sm; local
[all...]
H A Dwpa_auth.c33 #define STATE_MACHINE_ADDR sm->addr
37 static int wpa_sm_step(struct wpa_state_machine *sm);
41 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
43 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm,
49 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
54 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
63 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
176 int (*cb)(struct wpa_state_machine *sm, void *ctx),
240 static int wpa_use_aes_cmac(struct wpa_state_machine *sm) argument
244 if (wpa_key_mgmt_ft(sm
175 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
308 struct wpa_state_machine *sm = timeout_ctx; local
316 wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) argument
582 struct wpa_state_machine *sm; local
602 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
650 wpa_auth_sta_no_wpa(struct wpa_state_machine *sm) argument
662 wpa_free_sta_sm(struct wpa_state_machine *sm) argument
692 wpa_auth_sta_deinit(struct wpa_state_machine *sm) argument
724 wpa_request_new_ptk(struct wpa_state_machine *sm) argument
764 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
813 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
846 wpa_try_alt_snonce(struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
897 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1354 struct wpa_state_machine *sm = timeout_ctx; local
1363 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1586 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1649 wpa_remove_ptk(struct wpa_state_machine *sm) argument
1662 wpa_auth_sm_event(struct wpa_state_machine *sm, enum wpa_event event) argument
1909 wpa_auth_sm_ptk_update(struct wpa_state_machine *sm) argument
2073 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, const u8 *pmk, unsigned int pmk_len, struct wpa_ptk *ptk) argument
2090 fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk, size_t pmk_len, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpabuf *g_sta, struct wpabuf *g_ap) argument
2153 wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, u8 *buf, size_t buf_len, u16 *_key_data_len) argument
2208 wpa_fils_validate_fils_session(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, const u8 *fils_session) argument
2262 wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len) argument
2305 fils_decrypt_assoc(struct wpa_state_machine *sm, const u8 *fils_session, const struct ieee80211_mgmt *mgmt, size_t frame_len, u8 *pos, size_t left) argument
2393 fils_encrypt_assoc(struct wpa_state_machine *sm, u8 *buf, size_t current_len, size_t max_len, const struct wpabuf *hlp) argument
2471 fils_prepare_plainbuf(struct wpa_state_machine *sm, const struct wpabuf *hlp) argument
2538 fils_set_tk(struct wpa_state_machine *sm) argument
2567 hostapd_eid_assoc_fils_session(struct wpa_state_machine *sm, u8 *buf, const u8 *fils_session, struct wpabuf *hlp) argument
2789 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
2801 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
2836 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
2842 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
3430 wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) argument
3466 wpa_wnmsleep_rekey_gtk(struct wpa_state_machine *sm) argument
3475 wpa_set_wnmsleep(struct wpa_state_machine *sm, int flag) argument
3482 wpa_wnmsleep_gtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
3514 wpa_wnmsleep_igtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
3612 wpa_group_disconnect_cb(struct wpa_state_machine *sm, void *ctx) argument
3674 wpa_sm_step(struct wpa_state_machine *sm) argument
3717 struct wpa_state_machine *sm = eloop_ctx; local
3722 wpa_auth_sm_notify(struct wpa_state_machine *sm) argument
3854 wpa_get_mib_sta(struct wpa_state_machine *sm, char *buf, size_t buflen) argument
3913 wpa_auth_pairwise_set(struct wpa_state_machine *sm) argument
3919 wpa_auth_get_pairwise(struct wpa_state_machine *sm) argument
3925 wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm) argument
3933 wpa_auth_sta_wpa_version(struct wpa_state_machine *sm) argument
3941 wpa_auth_sta_ft_tk_already_set(struct wpa_state_machine *sm) argument
3949 wpa_auth_sta_fils_tk_already_set(struct wpa_state_machine *sm) argument
3957 wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) argument
3968 wpa_auth_sta_get_pmksa(struct wpa_state_machine *sm) argument
3974 wpa_auth_sta_local_mic_failure_report(struct wpa_state_machine *sm) argument
3990 wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, unsigned int pmk_len, int session_timeout, struct eapol_state_machine *eapol) argument
4160 wpa_auth_pmksa_set_to_sm(struct rsn_pmksa_cache_entry *pmksa, struct wpa_state_machine *sm, struct wpa_authenticator *wpa_auth, u8 *pmkid, u8 *pmk) argument
4345 wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) argument
4382 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
4420 wpa_auth_uses_sae(struct wpa_state_machine *sm) argument
4428 wpa_auth_uses_ft_sae(struct wpa_state_machine *sm) argument
4437 wpa_auth_get_ip_addr(struct wpa_state_machine *sm, u8 *addr) argument
4519 wpa_auth_get_fils_aead_params(struct wpa_state_machine *sm, u8 *fils_anonce, u8 *fils_snonce, u8 *fils_kek, size_t *fils_kek_len) argument
4534 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4556 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4718 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
[all...]
H A Dwpa_auth_ft.c33 static int wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm,
37 static void ft_finish_pull(struct wpa_state_machine *sm);
1263 void wpa_ft_sta_deinit(struct wpa_state_machine *sm) argument
1265 eloop_cancel_timeout(wpa_ft_expire_pull, sm, NULL);
1386 struct wpa_state_machine *sm = eloop_ctx; local
1389 MAC2STR(sm->addr));
1390 if (sm->ft_pending_pull_left_retries <= 0)
1391 wpa_ft_block_r0kh(sm->wpa_auth, sm->r0kh_id, sm
1399 wpa_ft_pull_pmk_r1(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, const u8 *pmk_r0_name) argument
1515 wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
1570 wpa_ft_gtk_subelem(struct wpa_state_machine *sm, size_t *len) argument
1628 wpa_ft_igtk_subelem(struct wpa_state_machine *sm, size_t *len) argument
1661 wpa_ft_process_rdie(struct wpa_state_machine *sm, u8 *pos, u8 *end, u8 id, u8 descr_count, const u8 *ies, size_t ies_len) argument
1760 wpa_ft_process_ric(struct wpa_state_machine *sm, u8 *pos, u8 *end, const u8 *ric, size_t ric_len) argument
1792 wpa_sm_write_assoc_resp_ies(struct wpa_state_machine *sm, u8 *pos, size_t max_len, int auth_alg, const u8 *req_ies, size_t req_ies_len) argument
1926 wpa_ft_install_ptk(struct wpa_state_machine *sm) argument
1965 wpa_ft_psk_pmk_r1(struct wpa_state_machine *sm, const u8 *req_pmk_r1_name, u8 *out_pmk_r1, int *out_pairwise) argument
2016 wpa_ft_set_key_mgmt(struct wpa_state_machine *sm, struct wpa_ft_ies *parse) argument
2053 wpa_ft_process_auth_req(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, u8 **resp_ies, size_t *resp_ies_len) argument
2202 wpa_ft_process_auth(struct wpa_state_machine *sm, const u8 *bssid, u16 auth_transaction, const u8 *ies, size_t ies_len, void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, u16 auth_transaction, u16 status, const u8 *ies, size_t ies_len), void *ctx) argument
2245 wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len) argument
2398 wpa_ft_action_rx(struct wpa_state_machine *sm, const u8 *data, size_t len) argument
2478 struct wpa_state_machine *sm = ctx; local
2490 struct wpa_state_machine *sm; local
2524 wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm, const u8 *current_ap, const u8 *sta_addr, u16 status, const u8 *resp_ies, size_t resp_ies_len) argument
2886 ft_finish_pull(struct wpa_state_machine *sm) argument
2921 struct wpa_state_machine *sm; member in struct:ft_get_sta_ctx
2925 ft_get_sta_cb(struct wpa_state_machine *sm, void *ctx) argument
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap.c39 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor,
41 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id);
42 static void eap_sm_processIdentity(struct eap_sm *sm,
44 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req);
46 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req);
51 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field,
56 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument
58 return sm->eapol_cb->get_bool(sm->eapol_ctx, var);
62 static void eapol_set_bool(struct eap_sm *sm, enu argument
69 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument
75 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument
82 eapol_get_eapReqData(struct eap_sm *sm) argument
88 eap_notify_status(struct eap_sm *sm, const char *status, const char *parameter) argument
97 eap_report_error(struct eap_sm *sm, int error_code) argument
104 eap_sm_free_key(struct eap_sm *sm) argument
113 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument
137 eap_config_allowed_method(struct eap_sm *sm, struct eap_peer_config *config, int vendor, u32 method) argument
164 eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument
172 eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, size_t max_len, size_t *imsi_len, int mnc_len) argument
433 eap_get_realm(struct eap_sm *sm, struct eap_peer_config *config) argument
516 eap_home_realm(struct eap_sm *sm) argument
523 eap_erp_get_key(struct eap_sm *sm, const char *realm) argument
543 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) argument
563 eap_erp_remove_keys_realm(struct eap_sm *sm, const char *realm) argument
575 eap_peer_update_erp_next_seq_num(struct eap_sm *sm, u16 next_seq_num) argument
609 eap_peer_get_erp_info(struct eap_sm *sm, struct eap_peer_config *config, const u8 **username, size_t *username_len, const u8 **realm, size_t *realm_len, u16 *erp_next_seq_num, const u8 **rrk, size_t *rrk_len) argument
660 eap_peer_erp_free_keys(struct eap_sm *sm) argument
671 eap_peer_erp_init(struct eap_sm *sm, u8 *ext_session_id, size_t ext_session_id_len, u8 *ext_emsk, size_t ext_emsk_len) argument
785 eap_peer_build_erp_reauth_start(struct eap_sm *sm, u8 eap_id) argument
841 eap_peer_erp_reauth_start(struct eap_sm *sm, u8 eap_id) argument
1090 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument
1120 eap_peer_sm_step_idle(struct eap_sm *sm) argument
1152 eap_peer_req_is_duplicate(struct eap_sm *sm) argument
1178 eap_peer_sm_allow_canned(struct eap_sm *sm) argument
1187 eap_peer_sm_step_received(struct eap_sm *sm) argument
1249 eap_peer_sm_step_local(struct eap_sm *sm) argument
1343 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument
1359 eap_sm_build_expanded_nak( struct eap_sm *sm, int id, const struct eap_method *methods, size_t count) argument
1406 eap_sm_buildNak(struct eap_sm *sm, int id) argument
1455 eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) argument
1507 eap_sm_imsi_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1587 eap_sm_set_scard_pin(struct eap_sm *sm, struct eap_peer_config *conf) argument
1606 eap_sm_get_scard_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1629 eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) argument
1693 eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) argument
1726 eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) argument
1777 eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) argument
1938 eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) argument
2054 struct eap_sm *sm = ctx; local
2130 struct eap_sm *sm; local
2180 eap_peer_sm_deinit(struct eap_sm *sm) argument
2203 eap_peer_sm_step(struct eap_sm *sm) argument
2223 eap_sm_abort(struct eap_sm *sm) argument
2328 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument
2388 eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, const char *msg, size_t msglen) argument
2453 eap_sm_get_method_name(struct eap_sm *sm) argument
2470 eap_sm_request_identity(struct eap_sm *sm) argument
2485 eap_sm_request_password(struct eap_sm *sm) argument
2500 eap_sm_request_new_password(struct eap_sm *sm) argument
2515 eap_sm_request_pin(struct eap_sm *sm) argument
2531 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument
2546 eap_sm_request_passphrase(struct eap_sm *sm) argument
2557 eap_sm_request_sim(struct eap_sm *sm, const char *req) argument
2570 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument
2677 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument
2688 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument
2704 eap_get_config(struct eap_sm *sm) argument
2716 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument
2726 eap_get_ext_password(struct eap_sm *sm, struct eap_peer_config *config) argument
2753 eap_get_config_password(struct eap_sm *sm, size_t *len) argument
2780 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) argument
2808 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument
2824 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument
2842 eap_clear_config_otp(struct eap_sm *sm) argument
2859 eap_get_config_phase1(struct eap_sm *sm) argument
2873 eap_get_config_phase2(struct eap_sm *sm) argument
2882 eap_get_config_fragment_size(struct eap_sm *sm) argument
2896 eap_key_available(struct eap_sm *sm) argument
2911 eap_notify_success(struct eap_sm *sm) argument
2927 eap_notify_lower_layer_success(struct eap_sm *sm) argument
2957 eap_get_eapSessionId(struct eap_sm *sm, size_t *len) argument
2980 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument
3002 eap_get_eapRespData(struct eap_sm *sm) argument
3024 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument
3039 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument
3053 eap_get_config_blob(struct eap_sm *sm, const char *name) argument
3072 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument
3083 eap_set_external_sim(struct eap_sm *sm, int external_sim) argument
3098 eap_notify_pending(struct eap_sm *sm) argument
3108 eap_invalidate_cached_session(struct eap_sm *sm) argument
3141 eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) argument
3155 eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) argument
3162 eap_peer_was_failure_expected(struct eap_sm *sm) argument
[all...]
H A Deap_proxy_qmi_oc.c102 static void eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm,
107 static Boolean eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm,
120 static int eap_proxy_is_state_changed(struct eap_proxy_sm *sm);
1022 struct eap_proxy_sm *sm = (struct eap_proxy_sm *)ind_cb_data; local
1027 wpa_printf(MSG_ERROR, "eap_proxy: Handle_qmi_eap_ind msgId =%d sm=%p\n", msg_id,sm);
1042 sm->srvc_result = EAP_PROXY_QMI_SRVC_FAILURE;
1046 (QMI_STATE_RESP_TIME_OUT != sm->qmi_state)) {
1047 sm->proxy_state = EAP_PROXY_AUTH_SUCCESS;
1048 sm
1443 eap_proxy_key_available(struct eap_proxy_sm *sm) argument
1449 eap_proxy_is_state_changed(struct eap_proxy_sm *sm) argument
1474 eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) argument
1574 eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var, Boolean value) argument
1581 eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var) argument
1588 eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) argument
1616 eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len) argument
1623 eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len) argument
1630 eap_proxy_sm_abort(struct eap_proxy_sm *sm) argument
2129 eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, int verbose) argument
[all...]
/external/wpa_supplicant_8/src/eapol_supp/
H A Deapol_supp_sm.c152 static void eapol_sm_txLogoff(struct eapol_sm *sm);
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
161 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm);
168 struct eapol_sm *sm local
202 eapol_enable_timer_tick(struct eapol_sm *sm) argument
645 eapol_sm_txLogoff(struct eapol_sm *sm) argument
655 eapol_sm_txStart(struct eapol_sm *sm) argument
674 eapol_sm_processKey(struct eapol_sm *sm) argument
853 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument
863 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument
905 eapol_sm_abortSupp(struct eapol_sm *sm) argument
926 eapol_sm_set_port_authorized(struct eapol_sm *sm) argument
938 eapol_sm_set_port_unauthorized(struct eapol_sm *sm) argument
958 eapol_sm_step(struct eapol_sm *sm) argument
1092 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
1113 eapol_sm_get_method_name(struct eapol_sm *sm) argument
1137 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
1196 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
1266 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
1422 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
1436 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
1456 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
1478 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
1500 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
1524 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument
1570 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
1624 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len) argument
1641 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
1661 eapol_sm_notify_cached(struct eapol_sm *sm) argument
1678 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm) argument
1687 eapol_sm_abort_cached(struct eapol_sm *sm) argument
1715 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument
1731 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
1749 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
1764 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
1786 eapol_sm_request_reauth(struct eapol_sm *sm) argument
1804 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
1818 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
1827 struct eapol_sm *sm = ctx; local
1834 struct eapol_sm *sm = ctx; local
1844 struct eapol_sm *sm = ctx; local
1876 struct eapol_sm *sm = ctx; local
1916 struct eapol_sm *sm = ctx; local
1930 struct eapol_sm *sm = ctx; local
1946 struct eapol_sm *sm = ctx; local
1957 struct eapol_sm *sm = ctx; local
1970 struct eapol_sm *sm = ctx; local
1987 struct eapol_sm *sm = ctx; local
2001 struct eapol_sm *sm = ctx; local
2011 struct eapol_sm *sm = ctx; local
2019 struct eapol_sm *sm = ctx; local
2029 struct eapol_sm *sm = ctx; local
2040 struct eapol_sm *sm = ctx; local
2051 struct eapol_sm *sm = ctx; local
2092 struct eapol_sm *sm; local
2151 eapol_sm_deinit(struct eapol_sm *sm) argument
2168 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
2176 eapol_sm_failed(struct eapol_sm *sm) argument
2187 struct eapol_sm *sm = ctx; local
2196 eapol_sm_erp_flush(struct eapol_sm *sm) argument
2203 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm) argument
2215 eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf, size_t len) argument
2226 eapol_sm_update_erp_next_seq_num(struct eapol_sm *sm, u16 next_seq_num) argument
2238 eapol_sm_get_erp_info(struct eapol_sm *sm, struct eap_peer_config *config, const u8 **username, size_t *username_len, const u8 **realm, size_t *realm_len, u16 *erp_next_seq_num, const u8 **rrk, size_t *rrk_len) argument
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm) argument
166 return sm->pairwise_cipher != WPA_CIPHER_NONE;
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
179 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr,
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
223 sm->pairwise_cipher);
229 if (wpa_sm_set_key(sm, al
240 wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
251 wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *msg, size_t msg_len) argument
319 wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u16 reason_code) argument
335 struct wpa_sm *sm = eloop_ctx; local
381 wpa_tdls_tpk_retry_timeout_cancel(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 action_code) argument
633 struct wpa_sm *sm = eloop_ctx; local
663 wpa_tdls_peer_remove_from_list(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
689 wpa_tdls_peer_clear(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
722 wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
730 wpa_tdls_linkid(struct wpa_sm *sm, struct wpa_tdls_peer *peer, struct wpa_tdls_lnkid *lnkid) argument
746 wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
840 wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
868 wpa_tdls_disable_peer_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
876 wpa_tdls_disable_unreachable_link(struct wpa_sm *sm, const u8 *addr) argument
909 wpa_tdls_get_link_status(struct wpa_sm *sm, const u8 *addr) argument
931 wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
1019 wpa_tdls_send_error(struct wpa_sm *sm, const u8 *dst, u8 tdls_action, u8 dialog_token, int initiator, u16 status) argument
1032 wpa_tdls_add_peer(struct wpa_sm *sm, const u8 *addr, int *existing) argument
1061 wpa_tdls_send_tpk_m1(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
1242 wpa_tdls_send_tpk_m2(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1333 wpa_tdls_send_tpk_m3(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1431 wpa_tdls_send_discovery_response(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 dialog_token) argument
1518 wpa_tdls_process_discovery_request(struct wpa_sm *sm, const u8 *addr, const u8 *buf, size_t len) argument
1573 wpa_tdls_send_discovery_request(struct wpa_sm *sm, const u8 *addr) argument
1754 wpa_tdls_addset_peer(struct wpa_sm *sm, struct wpa_tdls_peer *peer, int add) argument
1784 wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2138 wpa_tdls_enable_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
2173 wpa_tdls_process_tpk_m2(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2462 wpa_tdls_process_tpk_m3(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2644 wpa_tdls_start(struct wpa_sm *sm, const u8 *addr) argument
2696 wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr) argument
2730 struct wpa_sm *sm = ctx; local
2796 wpa_tdls_init(struct wpa_sm *sm) argument
2834 wpa_tdls_teardown_peers(struct wpa_sm *sm) argument
2859 wpa_tdls_remove_peers(struct wpa_sm *sm) argument
2883 wpa_tdls_deinit(struct wpa_sm *sm) argument
2896 wpa_tdls_assoc(struct wpa_sm *sm) argument
2903 wpa_tdls_disassoc(struct wpa_sm *sm) argument
2924 wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2946 wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2970 wpa_tdls_enable(struct wpa_sm *sm, int enabled) argument
2977 wpa_tdls_is_external_setup(struct wpa_sm *sm) argument
2983 wpa_tdls_enable_chan_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, struct hostapd_freq_params *freq_params) argument
3032 wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr) argument
[all...]
H A Dwpa.c38 * @sm: Pointer to WPA state machine data from wpa_sm_init()
48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, argument
53 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len);
57 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt);
58 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) {
63 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) {
64 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG,
68 dest = sm
177 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument
242 wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) argument
260 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument
423 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
514 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
529 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
639 struct wpa_sm *sm = eloop_ctx; local
644 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument
692 struct wpa_sm *sm = eloop_ctx; local
698 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument
767 wpa_supplicant_check_group_cipher(struct wpa_sm *sm, int group_cipher, int keylen, int maxkeylen, int *key_rsc_len, enum wpa_alg *alg) argument
803 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc, int wnm_sleep) argument
869 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument
887 wpa_supplicant_rsc_relaxation(const struct wpa_sm *sm, const u8 *rsc) argument
917 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
972 wpa_supplicant_install_igtk(struct wpa_sm *sm, const struct wpa_igtk_kde *igtk, int wnm_sleep) argument
1023 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument
1050 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
1090 ft_validate_mdie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_mdie) argument
1121 ft_validate_ftie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_ftie) argument
1149 ft_validate_rsnie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1185 wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1220 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1293 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, struct wpa_ptk *ptk) argument
1335 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
1465 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
1516 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1603 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1644 wpa_supplicant_process_1_of_2(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 ver) argument
1715 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
1780 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, size_t mic_len, u16 ver, u8 *key_data, size_t *key_data_len) argument
1865 wpa_sm_aborted_cached(struct wpa_sm *sm) argument
1875 wpa_eapol_key_dump(struct wpa_sm *sm, const struct wpa_eapol_key *key, unsigned int key_data_len, const u8 *mic, unsigned int mic_len) argument
1913 wpa_supp_aead_decrypt(struct wpa_sm *sm, u8 *buf, size_t buf_len, size_t *key_data_len) argument
1998 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2269 wpa_key_mgmt_suite(struct wpa_sm *sm) argument
2322 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument
2398 struct wpa_sm *sm = ctx; local
2446 struct wpa_sm *sm; local
2475 wpa_sm_deinit(struct wpa_sm *sm) argument
2514 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
2591 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument
2627 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid) argument
2659 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument
2683 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument
2695 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument
2714 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
2761 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument
2774 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument
2789 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
2803 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument
2873 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
2912 wpa_sm_pmf_enabled(struct wpa_sm *sm) argument
2934 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
2993 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3027 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3061 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3094 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument
3110 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument
3116 wpa_sm_pmksa_cache_head(struct wpa_sm *sm) argument
3123 wpa_sm_pmksa_cache_add_entry(struct wpa_sm *sm, struct rsn_pmksa_cache_entry * entry) argument
3130 wpa_sm_pmksa_cache_add(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid, const u8 *fils_cache_id) argument
3140 wpa_sm_pmksa_exists(struct wpa_sm *sm, const u8 *bssid, const void *network_ctx) argument
3147 wpa_sm_drop_sa(struct wpa_sm *sm) argument
3169 wpa_sm_has_ptk(struct wpa_sm *sm) argument
3177 wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) argument
3183 wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) argument
3190 wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf) argument
3251 wpa_sm_get_p2p_ip_addr(struct wpa_sm *sm, u8 *buf) argument
3262 wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter) argument
3274 wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, size_t ptk_kck_len, const u8 *ptk_kek, size_t ptk_kek_len) argument
3294 wpa_sm_set_test_assoc_ie(struct wpa_sm *sm, struct wpabuf *buf) argument
3301 wpa_sm_get_anonce(struct wpa_sm *sm) argument
3311 fils_build_auth(struct wpa_sm *sm, int dh_group, const u8 *md) argument
3442 fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, size_t len) argument
3736 fils_ft_build_assoc_req_rsne(struct wpa_sm *sm, struct wpabuf *buf) argument
3839 fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, size_t *kek_len, const u8 **snonce, const u8 **anonce, const struct wpabuf **hlp, unsigned int num_hlp) argument
3940 fils_process_hlp_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
3956 fils_process_hlp_container(struct wpa_sm *sm, const u8 *pos, size_t len) argument
4005 fils_process_assoc_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
4173 wpa_sm_set_reset_fils_completed(struct wpa_sm *sm, int set) argument
4182 wpa_fils_is_completed(struct wpa_sm *sm) argument
4194 owe_build_assoc_req(struct wpa_sm *sm, u16 group) argument
4239 owe_process_assoc_resp(struct wpa_sm *sm, const u8 *bssid, const u8 *resp_ies, size_t resp_ies_len) argument
4397 wpa_sm_set_fils_cache_id(struct wpa_sm *sm, const u8 *fils_cache_id) argument
[all...]
H A Dwpa_i.h170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) argument
172 WPA_ASSERT(sm->ctx->set_state);
173 sm->ctx->set_state(sm->ctx->ctx, state);
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument
178 WPA_ASSERT(sm->ctx->get_state);
179 return sm->ctx->get_state(sm->ctx->ctx);
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument
184 WPA_ASSERT(sm
188 wpa_sm_set_key(struct wpa_sm *sm, enum 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
198 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument
204 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument
210 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument
217 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument
223 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument
229 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument
238 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id, const u8 *pmk, size_t pmk_len) argument
248 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id) argument
257 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument
265 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument
273 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument
283 wpa_sm_mark_authenticated(struct wpa_sm *sm, const u8 *target_ap) argument
291 wpa_sm_set_rekey_offload(struct wpa_sm *sm) argument
301 wpa_sm_tdls_get_capa(struct wpa_sm *sm, int *tdls_supported, int *tdls_ext_setup, int *tdls_chan_switch) argument
312 wpa_sm_send_tdls_mgmt(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
326 wpa_sm_tdls_oper(struct wpa_sm *sm, int oper, const u8 *peer) argument
335 wpa_sm_tdls_peer_addset(struct wpa_sm *sm, const u8 *addr, int add, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u8 qosinfo, int wmm, const u8 *ext_capab, size_t ext_capab_len, const u8 *supp_channels, size_t supp_channels_len, const u8 *supp_oper_classes, size_t supp_oper_classes_len) argument
359 wpa_sm_tdls_enable_channel_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, const struct hostapd_freq_params *freq_params) argument
371 wpa_sm_tdls_disable_channel_switch(struct wpa_sm *sm, const u8 *addr) argument
379 wpa_sm_key_mgmt_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument
387 wpa_sm_fils_hlp_rx(struct wpa_sm *sm, const u8 *dst, const u8 *src, const u8 *pkt, size_t pkt_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dieee802_1x.c145 struct eapol_state_machine *sm = sta->eapol_sm; local
147 if (sm == NULL)
178 if (sm->eap_if->eapKeyData == NULL || sm->eap_if->eapKeyDataLen < 64) {
193 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32);
202 hmac_md5(sm->eap_if->eapKeyData + 32, 32, buf, sizeof(*hdr) + len,
206 " (%s index=%d)", MAC2STR(sm->addr),
218 struct eapol_state_machine *sm = sta->eapol_sm; local
220 if (sm == NULL || !sm
304 ieee802_1x_learn_identity(struct hostapd_data *hapd, struct eapol_state_machine *sm, const u8 *eap, size_t len) argument
599 struct eapol_state_machine *sm = sta->eapol_sm; local
734 struct eapol_state_machine *sm = sta->eapol_sm; local
767 struct eapol_state_machine *sm = sta->eapol_sm; local
1240 struct eapol_state_machine *sm = sta->eapol_sm; local
1275 struct eapol_state_machine *sm = sta->eapol_sm; local
1351 struct eapol_state_machine *sm = sta->eapol_sm; local
1396 struct eapol_state_machine *sm = sta->eapol_sm; local
1451 struct eapol_state_machine *sm = sta->eapol_sm; local
1481 struct eapol_state_machine *sm = sta->eapol_sm; local
1645 struct eapol_state_machine *sm; member in struct:sta_id_search
1654 struct eapol_state_machine *sm = sta->eapol_sm; local
1694 struct eapol_state_machine *sm; local
1890 struct eapol_state_machine *sm = sta->eapol_sm; local
2012 struct eapol_state_machine *sm = sta->eapol_sm; local
2419 ieee802_1x_get_identity(struct eapol_state_machine *sm, size_t *len) argument
2429 ieee802_1x_get_radius_class(struct eapol_state_machine *sm, size_t *len, int idx) argument
2441 ieee802_1x_get_radius_cui(struct eapol_state_machine *sm) argument
2449 ieee802_1x_get_key(struct eapol_state_machine *sm, size_t *len) argument
2460 ieee802_1x_notify_port_enabled(struct eapol_state_machine *sm, int enabled) argument
2470 ieee802_1x_notify_port_valid(struct eapol_state_machine *sm, int valid) argument
2480 ieee802_1x_notify_pre_auth(struct eapol_state_machine *sm, int pre_auth) argument
2508 struct eapol_state_machine *sm = sta->eapol_sm; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap.c39 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor,
41 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id);
42 static void eap_sm_processIdentity(struct eap_sm *sm,
44 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req);
46 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req);
51 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field,
56 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument
58 return sm->eapol_cb->get_bool(sm->eapol_ctx, var);
62 static void eapol_set_bool(struct eap_sm *sm, enu argument
69 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument
75 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument
82 eapol_get_eapReqData(struct eap_sm *sm) argument
88 eap_notify_status(struct eap_sm *sm, const char *status, const char *parameter) argument
97 eap_report_error(struct eap_sm *sm, int error_code) argument
104 eap_sm_free_key(struct eap_sm *sm) argument
113 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument
137 eap_config_allowed_method(struct eap_sm *sm, struct eap_peer_config *config, int vendor, u32 method) argument
164 eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument
172 eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, size_t max_len, size_t *imsi_len, int mnc_len) argument
433 eap_get_realm(struct eap_sm *sm, struct eap_peer_config *config) argument
516 eap_home_realm(struct eap_sm *sm) argument
523 eap_erp_get_key(struct eap_sm *sm, const char *realm) argument
543 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) argument
563 eap_erp_remove_keys_realm(struct eap_sm *sm, const char *realm) argument
575 eap_peer_update_erp_next_seq_num(struct eap_sm *sm, u16 next_seq_num) argument
609 eap_peer_get_erp_info(struct eap_sm *sm, struct eap_peer_config *config, const u8 **username, size_t *username_len, const u8 **realm, size_t *realm_len, u16 *erp_next_seq_num, const u8 **rrk, size_t *rrk_len) argument
660 eap_peer_erp_free_keys(struct eap_sm *sm) argument
671 eap_peer_erp_init(struct eap_sm *sm, u8 *ext_session_id, size_t ext_session_id_len, u8 *ext_emsk, size_t ext_emsk_len) argument
785 eap_peer_build_erp_reauth_start(struct eap_sm *sm, u8 eap_id) argument
841 eap_peer_erp_reauth_start(struct eap_sm *sm, u8 eap_id) argument
1090 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument
1120 eap_peer_sm_step_idle(struct eap_sm *sm) argument
1152 eap_peer_req_is_duplicate(struct eap_sm *sm) argument
1178 eap_peer_sm_allow_canned(struct eap_sm *sm) argument
1187 eap_peer_sm_step_received(struct eap_sm *sm) argument
1249 eap_peer_sm_step_local(struct eap_sm *sm) argument
1343 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument
1359 eap_sm_build_expanded_nak( struct eap_sm *sm, int id, const struct eap_method *methods, size_t count) argument
1406 eap_sm_buildNak(struct eap_sm *sm, int id) argument
1455 eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) argument
1507 eap_sm_imsi_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1587 eap_sm_set_scard_pin(struct eap_sm *sm, struct eap_peer_config *conf) argument
1606 eap_sm_get_scard_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1629 eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) argument
1693 eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) argument
1726 eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) argument
1777 eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) argument
1938 eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) argument
2054 struct eap_sm *sm = ctx; local
2130 struct eap_sm *sm; local
2180 eap_peer_sm_deinit(struct eap_sm *sm) argument
2203 eap_peer_sm_step(struct eap_sm *sm) argument
2223 eap_sm_abort(struct eap_sm *sm) argument
2328 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument
2388 eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, const char *msg, size_t msglen) argument
2453 eap_sm_get_method_name(struct eap_sm *sm) argument
2470 eap_sm_request_identity(struct eap_sm *sm) argument
2485 eap_sm_request_password(struct eap_sm *sm) argument
2500 eap_sm_request_new_password(struct eap_sm *sm) argument
2515 eap_sm_request_pin(struct eap_sm *sm) argument
2531 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument
2546 eap_sm_request_passphrase(struct eap_sm *sm) argument
2557 eap_sm_request_sim(struct eap_sm *sm, const char *req) argument
2570 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument
2677 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument
2688 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument
2704 eap_get_config(struct eap_sm *sm) argument
2716 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument
2726 eap_get_ext_password(struct eap_sm *sm, struct eap_peer_config *config) argument
2753 eap_get_config_password(struct eap_sm *sm, size_t *len) argument
2780 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) argument
2808 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument
2824 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument
2842 eap_clear_config_otp(struct eap_sm *sm) argument
2859 eap_get_config_phase1(struct eap_sm *sm) argument
2873 eap_get_config_phase2(struct eap_sm *sm) argument
2882 eap_get_config_fragment_size(struct eap_sm *sm) argument
2896 eap_key_available(struct eap_sm *sm) argument
2911 eap_notify_success(struct eap_sm *sm) argument
2927 eap_notify_lower_layer_success(struct eap_sm *sm) argument
2957 eap_get_eapSessionId(struct eap_sm *sm, size_t *len) argument
2980 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument
3002 eap_get_eapRespData(struct eap_sm *sm) argument
3024 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument
3039 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument
3053 eap_get_config_blob(struct eap_sm *sm, const char *name) argument
3072 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument
3083 eap_set_external_sim(struct eap_sm *sm, int external_sim) argument
3098 eap_notify_pending(struct eap_sm *sm) argument
3108 eap_invalidate_cached_session(struct eap_sm *sm) argument
3141 eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) argument
3155 eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) argument
3162 eap_peer_was_failure_expected(struct eap_sm *sm) argument
[all...]
H A Deap_proxy_qmi_oc.c102 static void eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm,
107 static Boolean eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm,
120 static int eap_proxy_is_state_changed(struct eap_proxy_sm *sm);
1022 struct eap_proxy_sm *sm = (struct eap_proxy_sm *)ind_cb_data; local
1027 wpa_printf(MSG_ERROR, "eap_proxy: Handle_qmi_eap_ind msgId =%d sm=%p\n", msg_id,sm);
1042 sm->srvc_result = EAP_PROXY_QMI_SRVC_FAILURE;
1046 (QMI_STATE_RESP_TIME_OUT != sm->qmi_state)) {
1047 sm->proxy_state = EAP_PROXY_AUTH_SUCCESS;
1048 sm
1443 eap_proxy_key_available(struct eap_proxy_sm *sm) argument
1449 eap_proxy_is_state_changed(struct eap_proxy_sm *sm) argument
1474 eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) argument
1574 eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var, Boolean value) argument
1581 eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm, enum eapol_bool_var var) argument
1588 eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) argument
1616 eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len) argument
1623 eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len) argument
1630 eap_proxy_sm_abort(struct eap_proxy_sm *sm) argument
2129 eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, int verbose) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eapol_supp/
H A Deapol_supp_sm.c152 static void eapol_sm_txLogoff(struct eapol_sm *sm);
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
161 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm);
168 struct eapol_sm *sm local
202 eapol_enable_timer_tick(struct eapol_sm *sm) argument
645 eapol_sm_txLogoff(struct eapol_sm *sm) argument
655 eapol_sm_txStart(struct eapol_sm *sm) argument
674 eapol_sm_processKey(struct eapol_sm *sm) argument
853 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument
863 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument
905 eapol_sm_abortSupp(struct eapol_sm *sm) argument
926 eapol_sm_set_port_authorized(struct eapol_sm *sm) argument
938 eapol_sm_set_port_unauthorized(struct eapol_sm *sm) argument
958 eapol_sm_step(struct eapol_sm *sm) argument
1092 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
1113 eapol_sm_get_method_name(struct eapol_sm *sm) argument
1137 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
1196 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
1266 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
1422 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
1436 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
1456 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
1478 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
1500 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
1524 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument
1570 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
1624 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len) argument
1641 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
1661 eapol_sm_notify_cached(struct eapol_sm *sm) argument
1678 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm) argument
1687 eapol_sm_abort_cached(struct eapol_sm *sm) argument
1715 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument
1731 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
1749 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
1764 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
1786 eapol_sm_request_reauth(struct eapol_sm *sm) argument
1804 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
1818 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
1827 struct eapol_sm *sm = ctx; local
1834 struct eapol_sm *sm = ctx; local
1844 struct eapol_sm *sm = ctx; local
1876 struct eapol_sm *sm = ctx; local
1916 struct eapol_sm *sm = ctx; local
1930 struct eapol_sm *sm = ctx; local
1946 struct eapol_sm *sm = ctx; local
1957 struct eapol_sm *sm = ctx; local
1970 struct eapol_sm *sm = ctx; local
1987 struct eapol_sm *sm = ctx; local
2001 struct eapol_sm *sm = ctx; local
2011 struct eapol_sm *sm = ctx; local
2019 struct eapol_sm *sm = ctx; local
2029 struct eapol_sm *sm = ctx; local
2040 struct eapol_sm *sm = ctx; local
2051 struct eapol_sm *sm = ctx; local
2092 struct eapol_sm *sm; local
2151 eapol_sm_deinit(struct eapol_sm *sm) argument
2168 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
2176 eapol_sm_failed(struct eapol_sm *sm) argument
2187 struct eapol_sm *sm = ctx; local
2196 eapol_sm_erp_flush(struct eapol_sm *sm) argument
2203 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm) argument
2215 eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf, size_t len) argument
2226 eapol_sm_update_erp_next_seq_num(struct eapol_sm *sm, u16 next_seq_num) argument
2238 eapol_sm_get_erp_info(struct eapol_sm *sm, struct eap_peer_config *config, const u8 **username, size_t *username_len, const u8 **realm, size_t *realm_len, u16 *erp_next_seq_num, const u8 **rrk, size_t *rrk_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dtdls.c85 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer);
86 static void wpa_tdls_disable_peer_link(struct wpa_sm *sm,
88 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr,
159 static int wpa_tdls_get_privacy(struct wpa_sm *sm) argument
166 return sm->pairwise_cipher != WPA_CIPHER_NONE;
177 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
179 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr,
190 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
223 sm->pairwise_cipher);
229 if (wpa_sm_set_key(sm, al
240 wpa_tdls_send_tpk_msg(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
251 wpa_tdls_tpk_send(struct wpa_sm *sm, const u8 *dest, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *msg, size_t msg_len) argument
319 wpa_tdls_do_teardown(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u16 reason_code) argument
335 struct wpa_sm *sm = eloop_ctx; local
381 wpa_tdls_tpk_retry_timeout_cancel(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 action_code) argument
633 struct wpa_sm *sm = eloop_ctx; local
663 wpa_tdls_peer_remove_from_list(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
689 wpa_tdls_peer_clear(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
722 wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
730 wpa_tdls_linkid(struct wpa_sm *sm, struct wpa_tdls_peer *peer, struct wpa_tdls_lnkid *lnkid) argument
746 wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
840 wpa_tdls_teardown_link(struct wpa_sm *sm, const u8 *addr, u16 reason_code) argument
868 wpa_tdls_disable_peer_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
876 wpa_tdls_disable_unreachable_link(struct wpa_sm *sm, const u8 *addr) argument
909 wpa_tdls_get_link_status(struct wpa_sm *sm, const u8 *addr) argument
931 wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
1019 wpa_tdls_send_error(struct wpa_sm *sm, const u8 *dst, u8 tdls_action, u8 dialog_token, int initiator, u16 status) argument
1032 wpa_tdls_add_peer(struct wpa_sm *sm, const u8 *addr, int *existing) argument
1061 wpa_tdls_send_tpk_m1(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
1242 wpa_tdls_send_tpk_m2(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1333 wpa_tdls_send_tpk_m3(struct wpa_sm *sm, const unsigned char *src_addr, u8 dtoken, struct wpa_tdls_lnkid *lnkid, const struct wpa_tdls_peer *peer) argument
1431 wpa_tdls_send_discovery_response(struct wpa_sm *sm, struct wpa_tdls_peer *peer, u8 dialog_token) argument
1518 wpa_tdls_process_discovery_request(struct wpa_sm *sm, const u8 *addr, const u8 *buf, size_t len) argument
1573 wpa_tdls_send_discovery_request(struct wpa_sm *sm, const u8 *addr) argument
1754 wpa_tdls_addset_peer(struct wpa_sm *sm, struct wpa_tdls_peer *peer, int add) argument
1784 wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2138 wpa_tdls_enable_link(struct wpa_sm *sm, struct wpa_tdls_peer *peer) argument
2173 wpa_tdls_process_tpk_m2(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2462 wpa_tdls_process_tpk_m3(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2644 wpa_tdls_start(struct wpa_sm *sm, const u8 *addr) argument
2696 wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr) argument
2730 struct wpa_sm *sm = ctx; local
2796 wpa_tdls_init(struct wpa_sm *sm) argument
2834 wpa_tdls_teardown_peers(struct wpa_sm *sm) argument
2859 wpa_tdls_remove_peers(struct wpa_sm *sm) argument
2883 wpa_tdls_deinit(struct wpa_sm *sm) argument
2896 wpa_tdls_assoc(struct wpa_sm *sm) argument
2903 wpa_tdls_disassoc(struct wpa_sm *sm) argument
2924 wpa_tdls_ap_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2946 wpa_tdls_assoc_resp_ies(struct wpa_sm *sm, const u8 *ies, size_t len) argument
2970 wpa_tdls_enable(struct wpa_sm *sm, int enabled) argument
2977 wpa_tdls_is_external_setup(struct wpa_sm *sm) argument
2983 wpa_tdls_enable_chan_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, struct hostapd_freq_params *freq_params) argument
3032 wpa_tdls_disable_chan_switch(struct wpa_sm *sm, const u8 *addr) argument
[all...]
H A Dwpa.c38 * @sm: Pointer to WPA state machine data from wpa_sm_init()
48 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, argument
53 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len);
57 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt);
58 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) {
63 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) {
64 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG,
68 dest = sm
177 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument
242 wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) argument
260 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument
423 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
514 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
529 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
639 struct wpa_sm *sm = eloop_ctx; local
644 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument
692 struct wpa_sm *sm = eloop_ctx; local
698 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument
767 wpa_supplicant_check_group_cipher(struct wpa_sm *sm, int group_cipher, int keylen, int maxkeylen, int *key_rsc_len, enum wpa_alg *alg) argument
803 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc, int wnm_sleep) argument
869 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument
887 wpa_supplicant_rsc_relaxation(const struct wpa_sm *sm, const u8 *rsc) argument
917 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
972 wpa_supplicant_install_igtk(struct wpa_sm *sm, const struct wpa_igtk_kde *igtk, int wnm_sleep) argument
1023 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument
1050 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
1090 ft_validate_mdie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_mdie) argument
1121 ft_validate_ftie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_ftie) argument
1149 ft_validate_rsnie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1185 wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1220 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
1293 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, struct wpa_ptk *ptk) argument
1335 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
1465 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
1516 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1603 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1644 wpa_supplicant_process_1_of_2(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 ver) argument
1715 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
1780 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, size_t mic_len, u16 ver, u8 *key_data, size_t *key_data_len) argument
1865 wpa_sm_aborted_cached(struct wpa_sm *sm) argument
1875 wpa_eapol_key_dump(struct wpa_sm *sm, const struct wpa_eapol_key *key, unsigned int key_data_len, const u8 *mic, unsigned int mic_len) argument
1913 wpa_supp_aead_decrypt(struct wpa_sm *sm, u8 *buf, size_t buf_len, size_t *key_data_len) argument
1998 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
2269 wpa_key_mgmt_suite(struct wpa_sm *sm) argument
2322 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument
2398 struct wpa_sm *sm = ctx; local
2446 struct wpa_sm *sm; local
2475 wpa_sm_deinit(struct wpa_sm *sm) argument
2514 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
2591 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument
2627 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid) argument
2659 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument
2683 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument
2695 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument
2714 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
2761 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument
2774 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument
2789 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
2803 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument
2873 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
2912 wpa_sm_pmf_enabled(struct wpa_sm *sm) argument
2934 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
2993 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3027 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3061 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
3094 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument
3110 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument
3116 wpa_sm_pmksa_cache_head(struct wpa_sm *sm) argument
3123 wpa_sm_pmksa_cache_add_entry(struct wpa_sm *sm, struct rsn_pmksa_cache_entry * entry) argument
3130 wpa_sm_pmksa_cache_add(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid, const u8 *fils_cache_id) argument
3140 wpa_sm_pmksa_exists(struct wpa_sm *sm, const u8 *bssid, const void *network_ctx) argument
3147 wpa_sm_drop_sa(struct wpa_sm *sm) argument
3169 wpa_sm_has_ptk(struct wpa_sm *sm) argument
3177 wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) argument
3183 wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) argument
3190 wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf) argument
3251 wpa_sm_get_p2p_ip_addr(struct wpa_sm *sm, u8 *buf) argument
3262 wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter) argument
3274 wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, size_t ptk_kck_len, const u8 *ptk_kek, size_t ptk_kek_len) argument
3294 wpa_sm_set_test_assoc_ie(struct wpa_sm *sm, struct wpabuf *buf) argument
3301 wpa_sm_get_anonce(struct wpa_sm *sm) argument
3311 fils_build_auth(struct wpa_sm *sm, int dh_group, const u8 *md) argument
3442 fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, size_t len) argument
3736 fils_ft_build_assoc_req_rsne(struct wpa_sm *sm, struct wpabuf *buf) argument
3839 fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, size_t *kek_len, const u8 **snonce, const u8 **anonce, const struct wpabuf **hlp, unsigned int num_hlp) argument
3940 fils_process_hlp_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
3956 fils_process_hlp_container(struct wpa_sm *sm, const u8 *pos, size_t len) argument
4005 fils_process_assoc_resp(struct wpa_sm *sm, const u8 *resp, size_t len) argument
4173 wpa_sm_set_reset_fils_completed(struct wpa_sm *sm, int set) argument
4182 wpa_fils_is_completed(struct wpa_sm *sm) argument
4194 owe_build_assoc_req(struct wpa_sm *sm, u16 group) argument
4239 owe_process_assoc_resp(struct wpa_sm *sm, const u8 *bssid, const u8 *resp_ies, size_t resp_ies_len) argument
4397 wpa_sm_set_fils_cache_id(struct wpa_sm *sm, const u8 *fils_cache_id) argument
[all...]
H A Dwpa_i.h170 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) argument
172 WPA_ASSERT(sm->ctx->set_state);
173 sm->ctx->set_state(sm->ctx->ctx, state);
176 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument
178 WPA_ASSERT(sm->ctx->get_state);
179 return sm->ctx->get_state(sm->ctx->ctx);
182 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument
184 WPA_ASSERT(sm
188 wpa_sm_set_key(struct wpa_sm *sm, enum 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
198 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument
204 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument
210 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument
217 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument
223 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument
229 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument
238 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id, const u8 *pmk, size_t pmk_len) argument
248 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id) argument
257 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument
265 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument
273 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument
283 wpa_sm_mark_authenticated(struct wpa_sm *sm, const u8 *target_ap) argument
291 wpa_sm_set_rekey_offload(struct wpa_sm *sm) argument
301 wpa_sm_tdls_get_capa(struct wpa_sm *sm, int *tdls_supported, int *tdls_ext_setup, int *tdls_chan_switch) argument
312 wpa_sm_send_tdls_mgmt(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capab, int initiator, const u8 *buf, size_t len) argument
326 wpa_sm_tdls_oper(struct wpa_sm *sm, int oper, const u8 *peer) argument
335 wpa_sm_tdls_peer_addset(struct wpa_sm *sm, const u8 *addr, int add, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u8 qosinfo, int wmm, const u8 *ext_capab, size_t ext_capab_len, const u8 *supp_channels, size_t supp_channels_len, const u8 *supp_oper_classes, size_t supp_oper_classes_len) argument
359 wpa_sm_tdls_enable_channel_switch(struct wpa_sm *sm, const u8 *addr, u8 oper_class, const struct hostapd_freq_params *freq_params) argument
371 wpa_sm_tdls_disable_channel_switch(struct wpa_sm *sm, const u8 *addr) argument
379 wpa_sm_key_mgmt_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument
387 wpa_sm_fils_hlp_rx(struct wpa_sm *sm, const u8 *dst, const u8 *src, const u8 *pkt, size_t pkt_len) argument
[all...]
/external/guice/lib/build/
H A Dfelix-2.0.5.jar ... String getProperty (java.lang.String) String name Object sm public org.osgi.framework.Bundle getBundle () public ...
/external/clang/include/clang/AST/
H A DDeclBase.h1058 SourceManager &sm, const char *Msg)
1059 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
1057 PrettyStackTraceDecl(const Decl *theDecl, SourceLocation L, SourceManager &sm, const char *Msg) argument
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth.c33 #define STATE_MACHINE_ADDR sm->addr
37 static int wpa_sm_step(struct wpa_state_machine *sm);
41 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk,
43 static struct wpabuf * fils_prepare_plainbuf(struct wpa_state_machine *sm,
49 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
54 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
63 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
176 int (*cb)(struct wpa_state_machine *sm, void *ctx),
240 static int wpa_use_aes_cmac(struct wpa_state_machine *sm) argument
244 if (wpa_key_mgmt_ft(sm
175 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
308 struct wpa_state_machine *sm = timeout_ctx; local
316 wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) argument
582 struct wpa_state_machine *sm; local
602 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
650 wpa_auth_sta_no_wpa(struct wpa_state_machine *sm) argument
662 wpa_free_sta_sm(struct wpa_state_machine *sm) argument
692 wpa_auth_sta_deinit(struct wpa_state_machine *sm) argument
724 wpa_request_new_ptk(struct wpa_state_machine *sm) argument
764 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
813 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
846 wpa_try_alt_snonce(struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
897 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1354 struct wpa_state_machine *sm = timeout_ctx; local
1363 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1586 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1649 wpa_remove_ptk(struct wpa_state_machine *sm) argument
1662 wpa_auth_sm_event(struct wpa_state_machine *sm, enum wpa_event event) argument
1909 wpa_auth_sm_ptk_update(struct wpa_state_machine *sm) argument
2073 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, const u8 *pmk, unsigned int pmk_len, struct wpa_ptk *ptk) argument
2090 fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk, size_t pmk_len, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpabuf *g_sta, struct wpabuf *g_ap) argument
2153 wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, u8 *buf, size_t buf_len, u16 *_key_data_len) argument
2208 wpa_fils_validate_fils_session(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, const u8 *fils_session) argument
2262 wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len) argument
2305 fils_decrypt_assoc(struct wpa_state_machine *sm, const u8 *fils_session, const struct ieee80211_mgmt *mgmt, size_t frame_len, u8 *pos, size_t left) argument
2393 fils_encrypt_assoc(struct wpa_state_machine *sm, u8 *buf, size_t current_len, size_t max_len, const struct wpabuf *hlp) argument
2471 fils_prepare_plainbuf(struct wpa_state_machine *sm, const struct wpabuf *hlp) argument
2538 fils_set_tk(struct wpa_state_machine *sm) argument
2567 hostapd_eid_assoc_fils_session(struct wpa_state_machine *sm, u8 *buf, const u8 *fils_session, struct wpabuf *hlp) argument
2789 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
2801 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
2836 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
2842 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
3430 wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) argument
3466 wpa_wnmsleep_rekey_gtk(struct wpa_state_machine *sm) argument
3475 wpa_set_wnmsleep(struct wpa_state_machine *sm, int flag) argument
3482 wpa_wnmsleep_gtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
3514 wpa_wnmsleep_igtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
3612 wpa_group_disconnect_cb(struct wpa_state_machine *sm, void *ctx) argument
3674 wpa_sm_step(struct wpa_state_machine *sm) argument
3717 struct wpa_state_machine *sm = eloop_ctx; local
3722 wpa_auth_sm_notify(struct wpa_state_machine *sm) argument
3854 wpa_get_mib_sta(struct wpa_state_machine *sm, char *buf, size_t buflen) argument
3913 wpa_auth_pairwise_set(struct wpa_state_machine *sm) argument
3919 wpa_auth_get_pairwise(struct wpa_state_machine *sm) argument
3925 wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm) argument
3933 wpa_auth_sta_wpa_version(struct wpa_state_machine *sm) argument
3941 wpa_auth_sta_ft_tk_already_set(struct wpa_state_machine *sm) argument
3949 wpa_auth_sta_fils_tk_already_set(struct wpa_state_machine *sm) argument
3957 wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) argument
3968 wpa_auth_sta_get_pmksa(struct wpa_state_machine *sm) argument
3974 wpa_auth_sta_local_mic_failure_report(struct wpa_state_machine *sm) argument
3990 wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, unsigned int pmk_len, int session_timeout, struct eapol_state_machine *eapol) argument
4160 wpa_auth_pmksa_set_to_sm(struct rsn_pmksa_cache_entry *pmksa, struct wpa_state_machine *sm, struct wpa_authenticator *wpa_auth, u8 *pmkid, u8 *pmk) argument
4345 wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) argument
4382 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
4420 wpa_auth_uses_sae(struct wpa_state_machine *sm) argument
4428 wpa_auth_uses_ft_sae(struct wpa_state_machine *sm) argument
4437 wpa_auth_get_ip_addr(struct wpa_state_machine *sm, u8 *addr) argument
4519 wpa_auth_get_fils_aead_params(struct wpa_state_machine *sm, u8 *fils_anonce, u8 *fils_snonce, u8 *fils_kek, size_t *fils_kek_len) argument
4534 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4556 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4718 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
[all...]
H A Dwpa_auth_ft.c33 static int wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm,
37 static void ft_finish_pull(struct wpa_state_machine *sm);
1263 void wpa_ft_sta_deinit(struct wpa_state_machine *sm) argument
1265 eloop_cancel_timeout(wpa_ft_expire_pull, sm, NULL);
1386 struct wpa_state_machine *sm = eloop_ctx; local
1389 MAC2STR(sm->addr));
1390 if (sm->ft_pending_pull_left_retries <= 0)
1391 wpa_ft_block_r0kh(sm->wpa_auth, sm->r0kh_id, sm
1399 wpa_ft_pull_pmk_r1(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, const u8 *pmk_r0_name) argument
1515 wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
1570 wpa_ft_gtk_subelem(struct wpa_state_machine *sm, size_t *len) argument
1628 wpa_ft_igtk_subelem(struct wpa_state_machine *sm, size_t *len) argument
1661 wpa_ft_process_rdie(struct wpa_state_machine *sm, u8 *pos, u8 *end, u8 id, u8 descr_count, const u8 *ies, size_t ies_len) argument
1760 wpa_ft_process_ric(struct wpa_state_machine *sm, u8 *pos, u8 *end, const u8 *ric, size_t ric_len) argument
1792 wpa_sm_write_assoc_resp_ies(struct wpa_state_machine *sm, u8 *pos, size_t max_len, int auth_alg, const u8 *req_ies, size_t req_ies_len) argument
1926 wpa_ft_install_ptk(struct wpa_state_machine *sm) argument
1965 wpa_ft_psk_pmk_r1(struct wpa_state_machine *sm, const u8 *req_pmk_r1_name, u8 *out_pmk_r1, int *out_pairwise) argument
2016 wpa_ft_set_key_mgmt(struct wpa_state_machine *sm, struct wpa_ft_ies *parse) argument
2053 wpa_ft_process_auth_req(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len, u8 **resp_ies, size_t *resp_ies_len) argument
2202 wpa_ft_process_auth(struct wpa_state_machine *sm, const u8 *bssid, u16 auth_transaction, const u8 *ies, size_t ies_len, void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, u16 auth_transaction, u16 status, const u8 *ies, size_t ies_len), void *ctx) argument
2245 wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, size_t ies_len) argument
2398 wpa_ft_action_rx(struct wpa_state_machine *sm, const u8 *data, size_t len) argument
2478 struct wpa_state_machine *sm = ctx; local
2490 struct wpa_state_machine *sm; local
2524 wpa_ft_send_rrb_auth_resp(struct wpa_state_machine *sm, const u8 *current_ap, const u8 *sta_addr, u16 status, const u8 *resp_ies, size_t resp_ies_len) argument
2886 ft_finish_pull(struct wpa_state_machine *sm) argument
2921 struct wpa_state_machine *sm; member in struct:ft_get_sta_ctx
2925 ft_get_sta_cb(struct wpa_state_machine *sm, void *ctx) argument
[all...]

Completed in 784 milliseconds

<<111213