Home
last modified time | relevance | path

Searched refs:eap_hdr (Results 1 – 25 of 26) sorted by relevance

12

/external/wpa_supplicant_8/src/eap_common/
Deap_common.c27 const struct eap_hdr *hdr; in eap_hdr_len_valid()
69 const struct eap_hdr *hdr; in eap_hdr_validate()
132 struct eap_hdr *hdr; in eap_msg_alloc()
135 len = sizeof(struct eap_hdr) + (vendor == EAP_VENDOR_IETF ? 1 : 8) + in eap_msg_alloc()
169 struct eap_hdr *hdr; in eap_update_len()
184 const struct eap_hdr *eap; in eap_get_id()
201 if (wpabuf_len(msg) < sizeof(struct eap_hdr) + 1) in eap_get_type()
204 return ((const u8 *) wpabuf_head(msg))[sizeof(struct eap_hdr)]; in eap_get_type()
Deap_defs.h18 struct eap_hdr { struct
Deap_sim_common.c978 struct eap_hdr *eap; in eap_sim_msg_init()
1008 struct eap_hdr *eap; in eap_sim_msg_finish()
/external/wpa_supplicant_8/src/eap_peer/
Deap_peap.c601 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
607 if (len <= sizeof(struct eap_hdr)) { in eap_peap_phase2_request()
744 const struct eap_hdr *req, in eap_peap_decrypt()
750 struct eap_hdr *hdr, *rhdr; in eap_peap_decrypt()
809 struct eap_hdr *nhdr; in eap_peap_decrypt()
810 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt()
820 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
895 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
920 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
950 sizeof(struct eap_hdr), in eap_peap_decrypt()
[all …]
Deap_ttls.c338 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_eap_process()
364 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_request_eap_method()
436 struct eap_hdr *hdr, in eap_ttls_phase2_request_eap()
443 if (len <= sizeof(struct eap_hdr)) { in eap_ttls_phase2_request_eap()
812 struct eap_hdr *hdr, in eap_ttls_phase2_request()
1041 struct eap_hdr *hdr; in eap_ttls_fake_identity_request()
1053 hdr = (struct eap_hdr *) buf; in eap_ttls_fake_identity_request()
1093 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap()
1104 hdr = (struct eap_hdr *) parse->eapdata; in eap_ttls_process_phase2_eap()
1317 struct eap_hdr *hdr; in eap_ttls_implicit_identity_request()
[all …]
Deap_tls_common.h136 struct eap_hdr *hdr, struct wpabuf **resp);
Deap_gtc.c115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
Deap.h377 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len);
Deap_psk.c284 sizeof(struct eap_hdr) + 1 + in eap_psk_process_3()
348 sizeof(struct eap_hdr) + 1 + sizeof(*hdr4), in eap_psk_process_3()
Deap_fast.c417 struct eap_hdr *hdr, in eap_fast_phase2_request()
426 if (len <= sizeof(struct eap_hdr)) { in eap_fast_phase2_request()
562 struct eap_hdr *hdr; in eap_fast_process_eap_payload_tlv()
572 hdr = (struct eap_hdr *) eap_payload_tlv; in eap_fast_process_eap_payload_tlv()
1531 const struct eap_hdr *req; in eap_fast_process()
Deap_leap.c281 const struct eap_hdr *eap; in eap_leap_process()
Deap.c1433 sizeof(struct eap_hdr) + 1 + count + 1, in eap_sm_buildNak()
1734 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1785 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) in eap_peer_finish()
1948 const struct eap_hdr *hdr; in eap_sm_parseEapReq()
Deap_proxy_qmi_oc.c1174 struct eap_hdr *hdr; in eap_proxy_process()
1185 hdr = (struct eap_hdr *)eapReqData; in eap_proxy_process()
1658 struct eap_hdr *resp; in eap_proxy_build_identity()
Deap_tls_common.c1169 struct eap_hdr *hdr, struct wpabuf **resp) in eap_peer_tls_phase2_nak()
Deap_sim.c1059 const struct eap_hdr *req; in eap_sim_process()
Deap_aka.c1335 const struct eap_hdr *req; in eap_aka_process()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c255 req += sizeof(struct eap_hdr); in eap_peap_build_phase2_req()
256 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_req()
295 req += sizeof(struct eap_hdr); in eap_peap_build_phase2_soh()
296 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_soh()
483 struct eap_hdr *hdr; in eap_peap_build_phase2_term()
915 const struct eap_hdr *hdr; in eap_peap_process_phase2_response()
1064 const struct eap_hdr *hdr; in eap_peap_process_phase2()
1093 const struct eap_hdr *resp; in eap_peap_process_phase2()
1094 struct eap_hdr *nhdr; in eap_peap_process_phase2()
1096 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
[all …]
Deap_server.c591 const struct eap_hdr *nak; in SM_STATE()
792 const struct eap_hdr *ehdr; in SM_STATE()
1472 const struct eap_hdr *hdr; in eap_sm_parseEapResp()
1532 const struct eap_hdr *hdr; in eap_sm_getId()
1546 struct eap_hdr *resp; in eap_sm_buildSuccess()
1564 struct eap_hdr *resp; in eap_sm_buildFailure()
2032 const struct eap_hdr *hdr; in eap_erp_update_identity()
2038 hdr = (const struct eap_hdr *) eap; in eap_erp_update_identity()
Deap_server_ttls.c854 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap_response()
867 hdr = (struct eap_hdr *) in_data; in eap_ttls_process_phase2_eap_response()
960 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap()
979 hdr = (struct eap_hdr *) eap; in eap_ttls_process_phase2_eap()
Deap_server_fast.c977 struct eap_hdr *hdr; in eap_fast_process_phase2_response()
990 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_response()
1098 struct eap_hdr *hdr; in eap_fast_process_phase2_eap()
1101 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_eap()
Deap_server_pax.c198 mlen = sizeof(struct eap_hdr) + 1 + len; in eap_pax_check()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c310 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity()
312 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity()
314 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity()
316 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity()
766 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response()
798 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate()
834 struct eap_hdr *eap; in handle_eap()
842 eap = (struct eap_hdr *) buf; in handle_eap()
1307 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.c1302 len - sizeof(*hdr) > sizeof(struct eap_hdr)) { in eapol_sm_rx_eapol()
1303 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1304 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
1337 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1338 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
2228 eap_peer_finish(sm->eap, (const struct eap_hdr *) buf, len); in eapol_sm_process_erp_finish()
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c182 const struct eap_hdr *hdr; in ieee802_1x_encapsulate_radius()
198 hdr = (const struct eap_hdr *) eap; in ieee802_1x_encapsulate_radius()
705 struct eap_hdr *eap; in send_eap_request_identity()
712 eap = (struct eap_hdr *) (hdr + 1); in send_eap_request_identity()
759 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/external/wpa_supplicant_8/src/eapol_auth/
Deapol_auth_sm.c88 struct eap_hdr eap; in eapol_auth_tx_canned_eap()
109 wpabuf_len(sm->eap_if->eapReqData) < sizeof(struct eap_hdr)) { in eapol_auth_tx_req()

12