Searched defs:sm (Results 201 - 225 of 310) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_cp.c97 static int changed_cipher(struct ieee802_1x_cp_sm *sm) argument
99 return sm->confidentiality_offset != sm->cipher_offset ||
100 sm->current_cipher_suite != sm->cipher_suite;
104 static int changed_connect(struct ieee802_1x_cp_sm *sm) argument
106 return sm->connect != SECURE || sm->chgd_server || changed_cipher(sm);
114 sm
431 struct ieee802_1x_cp_sm *sm; local
486 ieee802_1x_cp_step_run(struct ieee802_1x_cp_sm *sm) argument
502 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
510 ieee802_1x_cp_sm_deinit(struct ieee802_1x_cp_sm *sm) argument
531 struct ieee802_1x_cp_sm *sm = cp_ctx; local
542 struct ieee802_1x_cp_sm *sm = (struct ieee802_1x_cp_sm *)cp_ctx; local
553 struct ieee802_1x_cp_sm *sm = cp_ctx; local
564 struct ieee802_1x_cp_sm *sm = cp_ctx; local
575 struct ieee802_1x_cp_sm *sm = cp_ctx; local
586 struct ieee802_1x_cp_sm *sm = cp_ctx; local
596 struct ieee802_1x_cp_sm *sm = cp_ctx; local
609 struct ieee802_1x_cp_sm *sm = cp_ctx; local
619 struct ieee802_1x_cp_sm *sm = cp_ctx; local
629 struct ieee802_1x_cp_sm *sm = cp_ctx; local
640 struct ieee802_1x_cp_sm *sm = cp_ctx; local
650 struct ieee802_1x_cp_sm *sm = cp_ctx; local
660 struct ieee802_1x_cp_sm *sm = cp_ctx; local
670 struct ieee802_1x_cp_sm *sm = cp_ctx; local
680 struct ieee802_1x_cp_sm *sm = cp_ctx; local
690 struct ieee802_1x_cp_sm *sm = cp_ctx; local
709 struct ieee802_1x_cp_sm *sm = cp_ctx; local
718 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
727 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpeerkey.c47 struct wpa_sm *sm = eloop_ctx;
54 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm, argument
57 eloop_cancel_timeout(wpa_supplicant_smk_timeout, sm, peerkey);
62 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, argument
77 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY,
90 os_memcpy(err->replay_counter, sm->request_counter,
92 inc_byte_array(sm->request_counter, WPA_REPLAY_COUNTER_LEN);
116 wpa_eapol_key_send(sm, &sm->ptk, ver, dst, ETH_P_EAPOL, rbuf, rlen,
123 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm, argument
176 wpa_supplicant_process_smk_m2( struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, int ver) argument
320 wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey) argument
378 wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey) argument
457 wpa_supplicant_process_smk_m5(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, int ver, struct wpa_peerkey *peerkey, struct wpa_eapol_ie_parse *kde) argument
512 wpa_supplicant_process_smk_m45( struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, int ver) argument
591 wpa_supplicant_process_smk_error( struct wpa_sm *sm, const unsigned char *src_addr, const u8 *key_data, size_t key_data_len) argument
652 wpa_supplicant_process_stk_1_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
729 wpa_supplicant_update_smk_lifetime(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_ie_parse *kde) argument
758 wpa_supplicant_process_stk_2_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
804 wpa_supplicant_process_stk_3_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
886 wpa_supplicant_process_stk_4_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver) argument
917 peerkey_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
987 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument
1110 peerkey_deinit(struct wpa_sm *sm) argument
1122 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
1146 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_upnp.c454 * @sm: WPS UPnP state machine from upnp_wps_device_init()
457 * subscribed UPnP control points. sm->wlanevent must have been set with the
460 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) argument
473 if (dl_list_empty(&sm->subscriptions)) {
479 if (now.sec != sm->last_event_sec) {
480 sm->last_event_sec = now.sec;
481 sm->num_events_in_sec = 1;
483 sm->num_events_in_sec++;
491 if (sm->num_events_in_sec > MAX_EVENTS_PER_SEC &&
492 sm
553 subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument
570 subscription_find(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
692 subscription_start(struct upnp_wps_device_sm *sm, const char *callback_urls) argument
758 subscription_renew(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
787 upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg) argument
977 upnp_wps_device_stop(struct upnp_wps_device_sm *sm) argument
1009 upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) argument
1065 upnp_wps_get_iface(struct upnp_wps_device_sm *sm, void *priv) argument
1082 upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv) argument
1138 struct upnp_wps_device_sm *sm; local
1195 upnp_wps_subscribers(struct upnp_wps_device_sm *sm) argument
1201 upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) argument
[all...]
H A Dwps_upnp_web.c183 struct upnp_wps_device_sm *sm,
302 static void web_connection_parse_get(struct upnp_wps_device_sm *sm, argument
318 iface = dl_list_first(&sm->interfaces,
396 format_wps_device_xml(iface, sm, buf);
423 web_process_get_device_info(struct upnp_wps_device_sm *sm, argument
431 iface = dl_list_first(&sm->interfaces,
489 web_process_put_message(struct upnp_wps_device_sm *sm, char *data, argument
501 iface = dl_list_first(&sm->interfaces,
574 web_process_put_wlan_response(struct upnp_wps_device_sm *sm, char *data, argument
653 dl_list_for_each(iface, &sm
182 format_wps_device_xml(struct upnp_wps_device_interface *iface, struct upnp_wps_device_sm *sm, struct wpabuf *buf) argument
687 find_er(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli) argument
699 web_process_set_selected_registrar(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli, char *data, struct wpabuf **reply, const char **replyname) argument
918 web_connection_parse_post(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli, struct http_request *req, const char *filename) argument
983 web_connection_parse_subscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument
1205 web_connection_parse_unsubscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument
1350 struct upnp_wps_device_sm *sm = ctx; local
1400 web_listener_stop(struct upnp_wps_device_sm *sm) argument
1407 web_listener_start(struct upnp_wps_device_sm *sm) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dibss_rsn.c342 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, argument
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_mschapv2.c101 static void eap_mschapv2_deinit(struct eap_sm *sm, void *priv);
104 static void * eap_mschapv2_init(struct eap_sm *sm) argument
111 if (sm->peer_challenge) {
114 eap_mschapv2_deinit(sm, data);
117 os_memcpy(data->peer_challenge, sm->peer_challenge,
121 if (sm->auth_challenge) {
124 eap_mschapv2_deinit(sm, data);
127 os_memcpy(data->auth_challenge, sm->auth_challenge,
131 data->phase2 = sm->init_phase2;
137 static void eap_mschapv2_deinit(struct eap_sm *sm, voi argument
147 eap_mschapv2_challenge_reply( struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id, u8 mschapv2_id, const u8 *auth_challenge) argument
239 eap_mschapv2_challenge( struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
297 eap_mschapv2_password_changed(struct eap_sm *sm, struct eap_mschapv2_data *data) argument
344 eap_mschapv2_success(struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
400 eap_mschapv2_failure_txt(struct eap_sm *sm, struct eap_mschapv2_data *data, char *txt) argument
510 eap_mschapv2_change_password( struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, u8 id) argument
651 eap_mschapv2_failure(struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
710 eap_mschapv2_check_config(struct eap_sm *sm) argument
730 eap_mschapv2_check_mslen(struct eap_sm *sm, size_t len, const struct eap_mschapv2_hdr *ms) argument
775 eap_mschapv2_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
837 eap_mschapv2_isKeyAvailable(struct eap_sm *sm, void *priv) argument
844 eap_mschapv2_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_peap.c29 static void eap_peap_deinit(struct eap_sm *sm, void *priv);
132 static void * eap_peap_init(struct eap_sm *sm) argument
135 struct eap_peer_config *config = eap_get_config(sm);
140 sm->peap_done = FALSE;
152 eap_peap_deinit(sm, data);
159 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_PEAP)) {
161 eap_peap_deinit(sm, data);
178 static void eap_peap_deinit(struct eap_sm *sm, void *priv) argument
184 data->phase2_method->deinit(sm, data->phase2_priv);
186 eap_peer_tls_ssl_deinit(sm,
223 eap_peap_get_isk(struct eap_sm *sm, struct eap_peap_data *data, u8 *isk, size_t isk_len) argument
252 eap_peap_derive_cmk(struct eap_sm *sm, struct eap_peap_data *data) argument
311 eap_tlv_add_cryptobinding(struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *buf) argument
360 eap_tlv_build_result(struct eap_sm *sm, struct eap_peap_data *data, int crypto_tlv_used, int id, u16 status) argument
393 eap_tlv_validate_cryptobinding(struct eap_sm *sm, struct eap_peap_data *data, const u8 *crypto_tlv, size_t crypto_tlv_len) argument
468 eap_tlv_process(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, const struct wpabuf *req, struct wpabuf **resp, int force_failure) argument
592 eap_peap_phase2_request(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, struct wpabuf *req, struct wpabuf **resp) argument
739 eap_peap_decrypt(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, const struct eap_hdr *req, const struct wpabuf *in_data, struct wpabuf **out_data) argument
965 eap_peap_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
1156 eap_peap_has_reauth_data(struct eap_sm *sm, void *priv) argument
1164 eap_peap_deinit_for_reauth(struct eap_sm *sm, void *priv) argument
1179 eap_peap_init_for_reauth(struct eap_sm *sm, void *priv) argument
1202 eap_peap_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) argument
1222 eap_peap_isKeyAvailable(struct eap_sm *sm, void *priv) argument
1229 eap_peap_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1267 eap_peap_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_sim.c81 static void * eap_sim_init(struct eap_sm *sm) argument
84 struct eap_peer_config *config = eap_get_config(sm);
119 data->use_pseudonym = !sm->init_phase2;
149 static void eap_sim_deinit(struct eap_sm *sm, void *priv) argument
163 static int eap_sim_ext_sim_req(struct eap_sm *sm, struct eap_sim_data *data) argument
178 eap_sm_request_sim(sm, req);
183 static int eap_sim_ext_sim_result(struct eap_sm *sm, struct eap_sim_data *data, argument
237 static int eap_sim_gsm_auth(struct eap_sm *sm, struct eap_sim_data *data) argument
243 conf = eap_get_config(sm);
247 if (sm
369 eap_sim_clear_identities(struct eap_sm *sm, struct eap_sim_data *data, int id) argument
395 eap_sim_learn_ids(struct eap_sm *sm, struct eap_sim_data *data, struct eap_sim_attrs *attr) argument
478 eap_sim_response_start(struct eap_sm *sm, struct eap_sim_data *data, u8 id, enum eap_sim_id_req id_req) argument
626 eap_sim_process_start(struct eap_sm *sm, struct eap_sim_data *data, u8 id, struct eap_sim_attrs *attr) argument
702 eap_sim_process_challenge(struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
889 eap_sim_process_notification( struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
924 eap_sim_process_reauthentication( struct eap_sm *sm, struct eap_sim_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
1031 eap_sim_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
1123 eap_sim_has_reauth_data(struct eap_sm *sm, void *priv) argument
1130 eap_sim_deinit_for_reauth(struct eap_sm *sm, void *priv) argument
1139 eap_sim_init_for_reauth(struct eap_sm *sm, void *priv) argument
1155 eap_sim_get_identity(struct eap_sm *sm, void *priv, size_t *len) argument
1174 eap_sim_isKeyAvailable(struct eap_sm *sm, void *priv) argument
1181 eap_sim_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1200 eap_sim_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
1223 eap_sim_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server.c33 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount,
36 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp);
38 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id);
39 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id);
40 static int eap_sm_nextId(struct eap_sm *sm, int id);
41 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list,
43 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor);
44 static int eap_sm_Policy_getDecision(struct eap_sm *sm);
45 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method);
48 static int eap_get_erp_send_reauth_start(struct eap_sm *sm) argument
56 eap_get_erp_domain(struct eap_sm *sm) argument
66 eap_erp_get_key(struct eap_sm *sm, const char *keyname) argument
75 eap_erp_add_key(struct eap_sm *sm, struct eap_server_erp_key *erp) argument
85 eap_sm_buildInitiateReauthStart(struct eap_sm *sm, u8 id) argument
162 eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, int phase2) argument
191 eap_log_msg(struct eap_sm *sm, const char *fmt, ...) argument
412 eap_server_erp_init(struct eap_sm *sm) argument
693 erp_send_finish_reauth(struct eap_sm *sm, struct eap_server_erp_key *erp, u8 id, u8 flags, u16 seq, const char *nai) argument
1397 eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, int eapSRTT, int eapRTTVAR, int methodTimeout) argument
1455 eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) argument
1528 eap_sm_buildSuccess(struct eap_sm *sm, u8 id) argument
1546 eap_sm_buildFailure(struct eap_sm *sm, u8 id) argument
1564 eap_sm_nextId(struct eap_sm *sm, int id) argument
1586 eap_sm_process_nak(struct eap_sm *sm, const u8 *nak_list, size_t len) argument
1640 eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, size_t len) argument
1657 eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor) argument
1689 eap_sm_Policy_getDecision(struct eap_sm *sm) argument
1771 eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method) argument
1786 eap_server_sm_step(struct eap_sm *sm) argument
1822 struct eap_sm *sm; local
1889 eap_server_sm_deinit(struct eap_sm *sm) argument
1922 eap_sm_notify_cached(struct eap_sm *sm) argument
1937 eap_sm_pending_cb(struct eap_sm *sm) argument
1952 eap_sm_method_pending(struct eap_sm *sm) argument
1966 eap_get_identity(struct eap_sm *sm, size_t *len) argument
1973 eap_erp_update_identity(struct eap_sm *sm, const u8 *eap, size_t len) argument
2016 eap_get_interface(struct eap_sm *sm) argument
2030 eap_server_clear_identity(struct eap_sm *sm) argument
2038 eap_server_mschap_rx_callback(struct eap_sm *sm, const char *source, const u8 *username, size_t username_len, const u8 *challenge, const u8 *response) argument
[all...]
H A Deap_server_aka.c57 static void eap_aka_fullauth(struct eap_sm *sm, struct eap_aka_data *data);
90 static int eap_aka_check_identity_reauth(struct eap_sm *sm, argument
102 data->reauth = eap_sim_db_get_reauth_entry(sm->eap_sim_db_priv,
131 static void eap_aka_check_identity(struct eap_sm *sm, argument
138 username = sim_get_username(sm->identity, sm->identity_len);
142 if (eap_aka_check_identity_reauth(sm, data, username) > 0) {
159 sm->eap_sim_db_priv, username);
173 eap_aka_fullauth(sm, data);
180 static void * eap_aka_init(struct eap_sm *sm) argument
204 eap_aka_prime_init(struct eap_sm *sm) argument
237 eap_aka_reset(struct eap_sm *sm, void *priv) argument
348 eap_aka_build_identity(struct eap_sm *sm, struct eap_aka_data *data, u8 id) argument
390 eap_aka_build_encr(struct eap_sm *sm, struct eap_aka_data *data, struct eap_sim_msg *msg, u16 counter, const u8 *nonce_s) argument
465 eap_aka_build_challenge(struct eap_sm *sm, struct eap_aka_data *data, u8 id) argument
541 eap_aka_build_reauth(struct eap_sm *sm, struct eap_aka_data *data, u8 id) argument
588 eap_aka_build_notification(struct eap_sm *sm, struct eap_aka_data *data, u8 id) argument
627 eap_aka_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
650 eap_aka_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
714 eap_aka_determine_identity(struct eap_sm *sm, struct eap_aka_data *data) argument
784 eap_aka_fullauth(struct eap_sm *sm, struct eap_aka_data *data) argument
850 eap_aka_process_identity(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
910 eap_aka_process_challenge(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1014 eap_aka_process_sync_failure(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1047 eap_aka_process_reauth(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1141 eap_aka_process_client_error(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1155 eap_aka_process_authentication_reject( struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1164 eap_aka_process_notification(struct eap_sm *sm, struct eap_aka_data *data, struct wpabuf *respData, struct eap_sim_attrs *attr) argument
1177 eap_aka_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1249 eap_aka_isDone(struct eap_sm *sm, void *priv) argument
1256 eap_aka_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1273 eap_aka_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
1290 eap_aka_isSuccess(struct eap_sm *sm, void *priv) argument
1297 eap_aka_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_pwd.c83 static void * eap_pwd_init(struct eap_sm *sm) argument
87 if (sm->user == NULL || sm->user->password == NULL ||
88 sm->user->password_len == 0) {
98 data->group_num = sm->pwd_group;
107 data->password = os_malloc(sm->user->password_len);
115 data->password_len = sm->user->password_len;
116 os_memcpy(data->password, sm->user->password, data->password_len);
117 data->password_hash = sm->user->password_hash;
131 data->mtu = sm
137 eap_pwd_reset(struct eap_sm *sm, void *priv) argument
164 eap_pwd_build_id_req(struct eap_sm *sm, struct eap_pwd_data *data, u8 id) argument
198 eap_pwd_build_commit_req(struct eap_sm *sm, struct eap_pwd_data *data, u8 id) argument
305 eap_pwd_build_confirm_req(struct eap_sm *sm, struct eap_pwd_data *data, u8 id) argument
431 eap_pwd_build_req(struct eap_sm *sm, void *priv, u8 id) argument
551 eap_pwd_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
586 eap_pwd_process_id_resp(struct eap_sm *sm, struct eap_pwd_data *data, const u8 *payload, size_t payload_len) argument
659 eap_pwd_process_commit_resp(struct eap_sm *sm, struct eap_pwd_data *data, const u8 *payload, size_t payload_len) argument
786 eap_pwd_process_confirm_resp(struct eap_sm *sm, struct eap_pwd_data *data, const u8 *payload, size_t payload_len) argument
912 eap_pwd_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1030 eap_pwd_getkey(struct eap_sm *sm, void *priv, size_t *len) argument
1049 eap_pwd_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
1068 eap_pwd_is_success(struct eap_sm *sm, void *priv) argument
1075 eap_pwd_is_done(struct eap_sm *sm, void *priv) argument
1082 eap_pwd_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eapol_supp/
H A Deapol_supp_sm.h305 void eapol_sm_deinit(struct eapol_sm *sm);
306 void eapol_sm_step(struct eapol_sm *sm);
307 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
309 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
310 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
312 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
314 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
315 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
316 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
317 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolea
349 eapol_sm_deinit(struct eapol_sm *sm) argument
352 eapol_sm_step(struct eapol_sm *sm) argument
355 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
360 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
365 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
370 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
375 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
378 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
382 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
386 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
390 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
393 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf) argument
398 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
403 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len) argument
407 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
410 eapol_sm_notify_cached(struct eapol_sm *sm) argument
413 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm) argument
417 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
421 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
424 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
427 eapol_sm_request_reauth(struct eapol_sm *sm) argument
430 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
434 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
437 eapol_sm_get_method_name(struct eapol_sm *sm) argument
441 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
445 eapol_sm_failed(struct eapol_sm *sm) argument
449 eapol_sm_erp_flush(struct eapol_sm *sm) argument
453 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm) argument
457 eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf, size_t len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_cp.c97 static int changed_cipher(struct ieee802_1x_cp_sm *sm) argument
99 return sm->confidentiality_offset != sm->cipher_offset ||
100 sm->current_cipher_suite != sm->cipher_suite;
104 static int changed_connect(struct ieee802_1x_cp_sm *sm) argument
106 return sm->connect != SECURE || sm->chgd_server || changed_cipher(sm);
114 sm
431 struct ieee802_1x_cp_sm *sm; local
486 ieee802_1x_cp_step_run(struct ieee802_1x_cp_sm *sm) argument
502 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
510 ieee802_1x_cp_sm_deinit(struct ieee802_1x_cp_sm *sm) argument
531 struct ieee802_1x_cp_sm *sm = cp_ctx; local
542 struct ieee802_1x_cp_sm *sm = (struct ieee802_1x_cp_sm *)cp_ctx; local
553 struct ieee802_1x_cp_sm *sm = cp_ctx; local
564 struct ieee802_1x_cp_sm *sm = cp_ctx; local
575 struct ieee802_1x_cp_sm *sm = cp_ctx; local
586 struct ieee802_1x_cp_sm *sm = cp_ctx; local
596 struct ieee802_1x_cp_sm *sm = cp_ctx; local
609 struct ieee802_1x_cp_sm *sm = cp_ctx; local
619 struct ieee802_1x_cp_sm *sm = cp_ctx; local
629 struct ieee802_1x_cp_sm *sm = cp_ctx; local
640 struct ieee802_1x_cp_sm *sm = cp_ctx; local
650 struct ieee802_1x_cp_sm *sm = cp_ctx; local
660 struct ieee802_1x_cp_sm *sm = cp_ctx; local
670 struct ieee802_1x_cp_sm *sm = cp_ctx; local
680 struct ieee802_1x_cp_sm *sm = cp_ctx; local
690 struct ieee802_1x_cp_sm *sm = cp_ctx; local
709 struct ieee802_1x_cp_sm *sm = cp_ctx; local
718 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
727 struct ieee802_1x_cp_sm *sm = eloop_ctx; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dpeerkey.c47 struct wpa_sm *sm = eloop_ctx;
54 static void wpa_supplicant_peerkey_free(struct wpa_sm *sm, argument
57 eloop_cancel_timeout(wpa_supplicant_smk_timeout, sm, peerkey);
62 static int wpa_supplicant_send_smk_error(struct wpa_sm *sm, const u8 *dst, argument
77 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY,
90 os_memcpy(err->replay_counter, sm->request_counter,
92 inc_byte_array(sm->request_counter, WPA_REPLAY_COUNTER_LEN);
116 wpa_eapol_key_send(sm, &sm->ptk, ver, dst, ETH_P_EAPOL, rbuf, rlen,
123 static int wpa_supplicant_send_smk_m3(struct wpa_sm *sm, argument
176 wpa_supplicant_process_smk_m2( struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, int ver) argument
320 wpa_supplicant_send_stk_1_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey) argument
378 wpa_supplicant_send_stk_3_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey) argument
457 wpa_supplicant_process_smk_m5(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, int ver, struct wpa_peerkey *peerkey, struct wpa_eapol_ie_parse *kde) argument
512 wpa_supplicant_process_smk_m45( struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, int ver) argument
591 wpa_supplicant_process_smk_error( struct wpa_sm *sm, const unsigned char *src_addr, const u8 *key_data, size_t key_data_len) argument
652 wpa_supplicant_process_stk_1_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
729 wpa_supplicant_update_smk_lifetime(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_ie_parse *kde) argument
758 wpa_supplicant_process_stk_2_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
804 wpa_supplicant_process_stk_3_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver, const u8 *key_data, size_t key_data_len) argument
886 wpa_supplicant_process_stk_4_of_4(struct wpa_sm *sm, struct wpa_peerkey *peerkey, const struct wpa_eapol_key *key, u16 ver) argument
917 peerkey_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
987 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument
1110 peerkey_deinit(struct wpa_sm *sm) argument
1122 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
1146 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_upnp.c454 * @sm: WPS UPnP state machine from upnp_wps_device_init()
457 * subscribed UPnP control points. sm->wlanevent must have been set with the
460 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) argument
473 if (dl_list_empty(&sm->subscriptions)) {
479 if (now.sec != sm->last_event_sec) {
480 sm->last_event_sec = now.sec;
481 sm->num_events_in_sec = 1;
483 sm->num_events_in_sec++;
491 if (sm->num_events_in_sec > MAX_EVENTS_PER_SEC &&
492 sm
553 subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument
570 subscription_find(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
692 subscription_start(struct upnp_wps_device_sm *sm, const char *callback_urls) argument
758 subscription_renew(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
787 upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg) argument
977 upnp_wps_device_stop(struct upnp_wps_device_sm *sm) argument
1009 upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) argument
1065 upnp_wps_get_iface(struct upnp_wps_device_sm *sm, void *priv) argument
1082 upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv) argument
1138 struct upnp_wps_device_sm *sm; local
1195 upnp_wps_subscribers(struct upnp_wps_device_sm *sm) argument
1201 upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) argument
[all...]
H A Dwps_upnp_web.c183 struct upnp_wps_device_sm *sm,
302 static void web_connection_parse_get(struct upnp_wps_device_sm *sm, argument
318 iface = dl_list_first(&sm->interfaces,
396 format_wps_device_xml(iface, sm, buf);
423 web_process_get_device_info(struct upnp_wps_device_sm *sm, argument
431 iface = dl_list_first(&sm->interfaces,
489 web_process_put_message(struct upnp_wps_device_sm *sm, char *data, argument
501 iface = dl_list_first(&sm->interfaces,
574 web_process_put_wlan_response(struct upnp_wps_device_sm *sm, char *data, argument
653 dl_list_for_each(iface, &sm
182 format_wps_device_xml(struct upnp_wps_device_interface *iface, struct upnp_wps_device_sm *sm, struct wpabuf *buf) argument
687 find_er(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli) argument
699 web_process_set_selected_registrar(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli, char *data, struct wpabuf **reply, const char **replyname) argument
918 web_connection_parse_post(struct upnp_wps_device_sm *sm, struct sockaddr_in *cli, struct http_request *req, const char *filename) argument
983 web_connection_parse_subscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument
1205 web_connection_parse_unsubscribe(struct upnp_wps_device_sm *sm, struct http_request *req, const char *filename) argument
1350 struct upnp_wps_device_sm *sm = ctx; local
1400 web_listener_stop(struct upnp_wps_device_sm *sm) argument
1407 web_listener_start(struct upnp_wps_device_sm *sm) argument
[all...]
/external/clang/lib/AST/
H A DType.cpp126 Expr *e, ArraySizeModifier sm,
129 : ArrayType(DependentSizedArray, et, can, sm, tq,
124 DependentSizedArrayType(const ASTContext &Context, QualType et, QualType can, Expr *e, ArraySizeModifier sm, unsigned tq, SourceRange brackets) argument
/external/libhevc/common/x86/
H A Dihevc_intra_pred_filters_sse42_intr.c413 __m128i sm = _mm_loadu_si128((__m128i *)&IHEVCE_SHUFFLEMASK5[0]); local
462 src_temp4 = _mm_shuffle_epi8(src_temp4, sm);
604 src_temp4 = _mm_shuffle_epi8(src_temp4, sm);
684 src_temp4 = _mm_shuffle_epi8(src_temp4, sm);
800 src_temp4 = _mm_shuffle_epi8(src_temp4, sm);
949 __m128i sm = _mm_loadu_si128((__m128i *)&IHEVCE_SHUFFLEMASK4[0]); local
973 src_temp8 = _mm_shuffle_epi8(src_temp8, sm);
974 src_temp7 = _mm_shuffle_epi8(src_temp7, sm);
975 src_temp6 = _mm_shuffle_epi8(src_temp6, sm);
976 src_temp5 = _mm_shuffle_epi8(src_temp5, sm);
[all...]
/external/skia/src/gpu/
H A DGrPathUtils.cpp671 const SkScalar sm = 6 * d[0]; local
678 klmCoeffs[6] = -sm * sm * sm;
682 klmCoeffs[col + 0] = sl * sm;
684 klmCoeffs[col + 6] = 3 * sm * sm * tm;
688 klmCoeffs[col + 0] = -tl * sm - tm * sl;
690 klmCoeffs[col + 6] = -3 * sm * tm * tm;
/external/valgrind/VEX/unused/
H A Dlinker.c221 StringMap* sm = malloc(sizeof(StringMap)); local
222 sm->sm_size = 10;
223 sm->sm_used = 0;
224 sm->maplets = malloc(10 * sizeof(Maplet));
225 return sm;
228 static void delete_StringMap ( StringMap* sm )
230 assert(sm->maplets != NULL);
231 free(sm->maplets);
232 sm->maplets = NULL;
233 free(sm);
251 search_StringMap( StringMap* sm, char* name ) argument
260 addto_StringMap( StringMap* sm, char* name, void* addr ) argument
268 paranoid_addto_StringMap( StringMap* sm, char* name, void* addr ) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_aka.c88 static void * eap_aka_init(struct eap_sm *sm) argument
91 const char *phase1 = eap_get_config_phase1(sm);
92 struct eap_peer_config *config = eap_get_config(sm);
105 data->use_pseudonym = !sm->init_phase2;
120 static void * eap_aka_prime_init(struct eap_sm *sm) argument
122 struct eap_aka_data *data = eap_aka_init(sm);
146 static void eap_aka_deinit(struct eap_sm *sm, void *priv) argument
161 static int eap_aka_ext_sim_req(struct eap_sm *sm, struct eap_aka_data *data) argument
174 eap_sm_request_sim(sm, req);
179 static int eap_aka_ext_sim_result(struct eap_sm *sm, struc argument
244 eap_aka_umts_auth(struct eap_sm *sm, struct eap_aka_data *data) argument
347 eap_aka_clear_identities(struct eap_sm *sm, struct eap_aka_data *data, int id) argument
373 eap_aka_learn_ids(struct eap_sm *sm, struct eap_aka_data *data, struct eap_sim_attrs *attr) argument
596 eap_aka_response_identity(struct eap_sm *sm, struct eap_aka_data *data, u8 id, enum eap_sim_id_req id_req) argument
739 eap_aka_process_identity(struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
885 eap_aka_process_challenge(struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
1124 eap_aka_process_notification( struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
1159 eap_aka_process_reauthentication( struct eap_sm *sm, struct eap_aka_data *data, u8 id, const struct wpabuf *reqData, struct eap_sim_attrs *attr) argument
1282 eap_aka_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
1381 eap_aka_has_reauth_data(struct eap_sm *sm, void *priv) argument
1388 eap_aka_deinit_for_reauth(struct eap_sm *sm, void *priv) argument
1401 eap_aka_init_for_reauth(struct eap_sm *sm, void *priv) argument
1411 eap_aka_get_identity(struct eap_sm *sm, void *priv, size_t *len) argument
1430 eap_aka_isKeyAvailable(struct eap_sm *sm, void *priv) argument
1437 eap_aka_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1456 eap_aka_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
1478 eap_aka_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_fast.c30 static void eap_fast_deinit(struct eap_sm *sm, void *priv);
146 static void * eap_fast_init(struct eap_sm *sm) argument
149 struct eap_peer_config *config = eap_get_config(sm);
166 eap_fast_deinit(sm, data);
173 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_FAST)) {
175 eap_fast_deinit(sm, data);
179 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn,
184 eap_fast_deinit(sm, data);
193 if (tls_connection_enable_workaround(sm->ssl_ctx, data->ssl.conn)) {
200 eap_fast_deinit(sm, dat
230 eap_fast_deinit(struct eap_sm *sm, void *priv) argument
269 eap_fast_derive_key_auth(struct eap_sm *sm, struct eap_fast_data *data) argument
300 eap_fast_derive_key_provisioning(struct eap_sm *sm, struct eap_fast_data *data) argument
332 eap_fast_derive_keys(struct eap_sm *sm, struct eap_fast_data *data) argument
344 eap_fast_init_phase2_method(struct eap_sm *sm, struct eap_fast_data *data) argument
414 eap_fast_phase2_request(struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
557 eap_fast_process_eap_payload_tlv( struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, u8 *eap_payload_tlv, size_t eap_payload_tlv_len) argument
647 eap_fast_get_phase2_key(struct eap_sm *sm, struct eap_fast_data *data, u8 *isk, size_t isk_len) argument
694 eap_fast_get_cmk(struct eap_sm *sm, struct eap_fast_data *data, u8 *cmk) argument
753 eap_fast_process_crypto_binding( struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, struct eap_tlv_crypto_binding_tlv *_bind, size_t bind_len) argument
1029 eap_fast_process_pac(struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, u8 *pac, size_t pac_len) argument
1137 eap_fast_encrypt_response(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *resp, u8 identifier, struct wpabuf **out_data) argument
1177 eap_fast_process_decrypted(struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, u8 identifier, struct wpabuf *decrypted, struct wpabuf **out_data) argument
1290 eap_fast_decrypt(struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, u8 identifier, const struct wpabuf *in_data, struct wpabuf **out_data) argument
1398 eap_fast_use_pac_opaque(struct eap_sm *sm, struct eap_fast_data *data, struct eap_fast_pac *pac) argument
1430 eap_fast_clear_pac_opaque_ext(struct eap_sm *sm, struct eap_fast_data *data) argument
1443 eap_fast_set_provisioning_ciphers(struct eap_sm *sm, struct eap_fast_data *data) argument
1478 eap_fast_process_start(struct eap_sm *sm, struct eap_fast_data *data, u8 flags, const u8 *pos, size_t left) argument
1527 eap_fast_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
1718 eap_fast_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) argument
1737 eap_fast_isKeyAvailable(struct eap_sm *sm, void *priv) argument
1744 eap_fast_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1763 eap_fast_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
1782 eap_fast_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_ttls.c26 static void eap_ttls_deinit(struct eap_sm *sm, void *priv);
71 static void * eap_ttls_init(struct eap_sm *sm) argument
74 struct eap_peer_config *config = eap_get_config(sm);
118 eap_ttls_deinit(sm, data);
125 eap_ttls_deinit(sm, data);
136 eap_ttls_deinit(sm, data);
151 eap_ttls_deinit(sm, data);
159 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TTLS)) {
161 eap_ttls_deinit(sm, data);
169 static void eap_ttls_phase2_eap_deinit(struct eap_sm *sm, argument
189 eap_ttls_deinit(struct eap_sm *sm, void *priv) argument
268 eap_ttls_v0_derive_key(struct eap_sm *sm, struct eap_ttls_data *data) argument
303 eap_ttls_implicit_challenge(struct eap_sm *sm, struct eap_ttls_data *data, size_t len) argument
333 eap_ttls_phase2_eap_process(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, size_t len, struct wpabuf **resp) argument
359 eap_ttls_phase2_request_eap_method(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, size_t len, u8 method, struct wpabuf **resp) argument
431 eap_ttls_phase2_request_eap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
474 eap_ttls_phase2_request_mschapv2(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
569 eap_ttls_phase2_request_mschap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
656 eap_ttls_phase2_request_pap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
710 eap_ttls_phase2_request_chap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
791 eap_ttls_phase2_request(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
1046 eap_ttls_encrypt_response(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *resp, u8 identifier, struct wpabuf **out_data) argument
1070 eap_ttls_process_phase2_eap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct ttls_parse_avp *parse, struct wpabuf **resp) argument
1126 eap_ttls_process_phase2_mschapv2(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct ttls_parse_avp *parse) argument
1188 eap_ttls_process_tnc_start(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct ttls_parse_avp *parse, struct wpabuf **resp) argument
1219 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument
1293 eap_ttls_implicit_identity_request(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct wpabuf **out_data) argument
1347 eap_ttls_phase2_start(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct wpabuf **out_data) argument
1377 eap_ttls_decrypt(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, const struct wpabuf *in_data, struct wpabuf **out_data) argument
1449 eap_ttls_process_handshake(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, const struct wpabuf *in_data, struct wpabuf **out_data) argument
1542 eap_ttls_check_auth_status(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret) argument
1587 eap_ttls_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
1642 eap_ttls_has_reauth_data(struct eap_sm *sm, void *priv) argument
1650 eap_ttls_deinit_for_reauth(struct eap_sm *sm, void *priv) argument
1669 eap_ttls_init_for_reauth(struct eap_sm *sm, void *priv) argument
1690 eap_ttls_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) argument
1733 eap_ttls_isKeyAvailable(struct eap_sm *sm, void *priv) argument
1740 eap_ttls_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1759 eap_ttls_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
1778 eap_ttls_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_fast.c22 static void eap_fast_reset(struct eap_sm *sm, void *priv);
71 static int eap_fast_process_phase2_start(struct eap_sm *sm,
111 static EapType eap_fast_req_failure(struct eap_sm *sm, argument
272 static void eap_fast_derive_key_auth(struct eap_sm *sm, argument
281 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm, argument
307 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
333 static int eap_fast_get_phase2_key(struct eap_sm *sm, argument
351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
378 static int eap_fast_update_icmk(struct eap_sm *sm, struc argument
411 eap_fast_init(struct eap_sm *sm) argument
507 eap_fast_reset(struct eap_sm *sm, void *priv) argument
524 eap_fast_build_start(struct eap_sm *sm, struct eap_fast_data *data, u8 id) argument
550 eap_fast_phase1_done(struct eap_sm *sm, struct eap_fast_data *data) argument
577 eap_fast_build_phase2_req(struct eap_sm *sm, struct eap_fast_data *data, u8 id) argument
597 eap_fast_build_crypto_binding( struct eap_sm *sm, struct eap_fast_data *data) argument
683 eap_fast_build_pac(struct eap_sm *sm, struct eap_fast_data *data) argument
817 eap_fast_encrypt_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *plain, int piggyback) argument
856 eap_fast_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
930 eap_fast_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
946 eap_fast_phase2_init(struct eap_sm *sm, struct eap_fast_data *data, EapType eap_type) argument
973 eap_fast_process_phase2_response(struct eap_sm *sm, struct eap_fast_data *data, u8 *in_data, size_t in_len) argument
1095 eap_fast_process_phase2_eap(struct eap_sm *sm, struct eap_fast_data *data, u8 *in_data, size_t in_len) argument
1252 eap_fast_process_phase2_tlvs(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_data) argument
1382 eap_fast_process_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_buf) argument
1427 eap_fast_process_version(struct eap_sm *sm, void *priv, int peer_version) argument
1452 eap_fast_process_phase1(struct eap_sm *sm, struct eap_fast_data *data) argument
1475 eap_fast_process_phase2_start(struct eap_sm *sm, struct eap_fast_data *data) argument
1510 eap_fast_process_msg(struct eap_sm *sm, void *priv, const struct wpabuf *respData) argument
1538 eap_fast_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1549 eap_fast_isDone(struct eap_sm *sm, void *priv) argument
1556 eap_fast_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1578 eap_fast_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
1600 eap_fast_isSuccess(struct eap_sm *sm, void *priv) argument
1607 eap_fast_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_peap.c29 static void eap_peap_reset(struct eap_sm *sm, void *priv);
103 static void eap_peap_valid_session(struct eap_sm *sm, argument
108 if (!sm->tls_session_lifetime ||
109 tls_connection_resumed(sm->ssl_ctx, data->ssl.conn))
112 buf = wpabuf_alloc(1 + 1 + sm->identity_len);
116 if (sm->identity) {
119 if (sm->identity_len <= 255)
120 id_len = sm->identity_len;
124 wpabuf_put_data(buf, sm->identity, id_len);
132 static void eap_peap_req_success(struct eap_sm *sm, argument
149 eap_peap_req_failure(struct eap_sm *sm, struct eap_peap_data *data) argument
167 eap_peap_init(struct eap_sm *sm) argument
195 eap_peap_reset(struct eap_sm *sm, void *priv) argument
210 eap_peap_build_start(struct eap_sm *sm, struct eap_peap_data *data, u8 id) argument
232 eap_peap_build_phase2_req(struct eap_sm *sm, struct eap_peap_data *data, u8 id) argument
268 eap_peap_build_phase2_soh(struct eap_sm *sm, struct eap_peap_data *data, u8 id) argument
323 eap_peap_derive_cmk(struct eap_sm *sm, struct eap_peap_data *data) argument
381 eap_peap_build_phase2_tlv(struct eap_sm *sm, struct eap_peap_data *data, u8 id) argument
473 eap_peap_build_phase2_term(struct eap_sm *sm, struct eap_peap_data *data, u8 id, int success) argument
501 eap_peap_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
567 eap_peap_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
583 eap_peap_phase2_init(struct eap_sm *sm, struct eap_peap_data *data, int vendor, EapType eap_type) argument
602 eap_tlv_validate_cryptobinding(struct eap_sm *sm, struct eap_peap_data *data, const u8 *crypto_tlv, size_t crypto_tlv_len) argument
654 eap_peap_process_phase2_tlv(struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *in_data) argument
774 eap_peap_process_phase2_soh(struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *in_data) argument
905 eap_peap_process_phase2_response(struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *in_data) argument
1054 eap_peap_process_phase2(struct eap_sm *sm, struct eap_peap_data *data, const struct wpabuf *respData, struct wpabuf *in_buf) argument
1158 eap_peap_process_version(struct eap_sm *sm, void *priv, int peer_version) argument
1181 eap_peap_process_msg(struct eap_sm *sm, void *priv, const struct wpabuf *respData) argument
1220 eap_peap_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1287 eap_peap_isDone(struct eap_sm *sm, void *priv) argument
1294 eap_peap_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1344 eap_peap_isSuccess(struct eap_sm *sm, void *priv) argument
1351 eap_peap_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]

Completed in 1158 milliseconds

1234567891011>>