Home
last modified time | relevance | path

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

/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.c981 struct eap_hdr *eap; in eap_sim_msg_init()
1011 struct eap_hdr *eap; in eap_sim_msg_finish()
/external/wpa_supplicant_8/src/eap_peer/
Deap_peap.c598 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
604 if (len <= sizeof(struct eap_hdr)) { in eap_peap_phase2_request()
740 const struct eap_hdr *req, in eap_peap_decrypt()
746 struct eap_hdr *hdr, *rhdr; in eap_peap_decrypt()
805 struct eap_hdr *nhdr; in eap_peap_decrypt()
806 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt()
816 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
891 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
916 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
946 sizeof(struct eap_hdr), in eap_peap_decrypt()
[all …]
Deap_ttls.c336 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_eap_process()
362 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_request_eap_method()
434 struct eap_hdr *hdr, in eap_ttls_phase2_request_eap()
441 if (len <= sizeof(struct eap_hdr)) { in eap_ttls_phase2_request_eap()
794 struct eap_hdr *hdr, in eap_ttls_phase2_request()
1024 struct eap_hdr *hdr; in eap_ttls_fake_identity_request()
1036 hdr = (struct eap_hdr *) buf; in eap_ttls_fake_identity_request()
1076 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap()
1087 hdr = (struct eap_hdr *) parse->eapdata; in eap_ttls_process_phase2_eap()
1299 struct eap_hdr *hdr; in eap_ttls_implicit_identity_request()
[all …]
Deap_tls_common.h130 struct eap_hdr *hdr, struct wpabuf **resp);
Deap_gtc.c115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
Deap_psk.c286 sizeof(struct eap_hdr) + 1 + in eap_psk_process_3()
350 sizeof(struct eap_hdr) + 1 + sizeof(*hdr4), in eap_psk_process_3()
Deap_fast.c418 struct eap_hdr *hdr, in eap_fast_phase2_request()
427 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()
1530 const struct eap_hdr *req; in eap_fast_process()
Deap.c575 const struct eap_hdr *hdr, size_t len) in eap_peer_erp_reauth_start()
1197 sizeof(struct eap_hdr) + 1 + count + 1, in eap_sm_buildNak()
1529 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1580 static void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_finish()
1744 const struct eap_hdr *hdr; in eap_sm_parseEapReq()
Deap_leap.c274 const struct eap_hdr *eap; in eap_leap_process()
Deap_tls_common.c1094 struct eap_hdr *hdr, struct wpabuf **resp) in eap_peer_tls_phase2_nak()
Deap_sim.c1031 const struct eap_hdr *req; in eap_sim_process()
Deap_aka.c1282 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()
479 struct eap_hdr *hdr; in eap_peap_build_phase2_term()
911 const struct eap_hdr *hdr; in eap_peap_process_phase2_response()
1060 const struct eap_hdr *hdr; in eap_peap_process_phase2()
1089 const struct eap_hdr *resp; in eap_peap_process_phase2()
1090 struct eap_hdr *nhdr; in eap_peap_process_phase2()
1092 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
[all …]
Deap_server_ttls.c852 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap_response()
865 hdr = (struct eap_hdr *) in_data; in eap_ttls_process_phase2_eap_response()
958 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap()
977 hdr = (struct eap_hdr *) eap; in eap_ttls_process_phase2_eap()
Deap_server.c589 const struct eap_hdr *nak; in SM_STATE()
787 const struct eap_hdr *ehdr; in SM_STATE()
1455 const struct eap_hdr *hdr; in eap_sm_parseEapResp()
1515 const struct eap_hdr *hdr; in eap_sm_getId()
1529 struct eap_hdr *resp; in eap_sm_buildSuccess()
1547 struct eap_hdr *resp; in eap_sm_buildFailure()
Deap_server_fast.c979 struct eap_hdr *hdr; in eap_fast_process_phase2_response()
992 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_response()
1100 struct eap_hdr *hdr; in eap_fast_process_phase2_eap()
1103 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.c308 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity()
310 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity()
312 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity()
314 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity()
726 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response()
758 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate()
794 struct eap_hdr *eap; in handle_eap()
802 eap = (struct eap_hdr *) buf; in handle_eap()
1241 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/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()
758 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.c1280 len - sizeof(*hdr) > sizeof(struct eap_hdr)) { in eapol_sm_rx_eapol()
1281 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1282 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
1315 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1316 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
/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()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c935 struct eap_hdr eapfail; in radius_server_reject()