Home
last modified time | relevance | path

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

/NextBSD/contrib/wpa/src/eap_common/
HDeap_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()
HDeap_defs.h18 struct eap_hdr { struct
HDeap_sim_common.c981 struct eap_hdr *eap; in eap_sim_msg_init()
1011 struct eap_hdr *eap; in eap_sim_msg_finish()
/NextBSD/contrib/wpa/src/eap_peer/
HDeap_peap.c595 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
601 if (len <= sizeof(struct eap_hdr)) { in eap_peap_phase2_request()
736 const struct eap_hdr *req, in eap_peap_decrypt()
742 struct eap_hdr *hdr, *rhdr; in eap_peap_decrypt()
801 struct eap_hdr *nhdr; in eap_peap_decrypt()
802 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt()
812 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
887 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
912 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
942 sizeof(struct eap_hdr), in eap_peap_decrypt()
[all …]
HDeap_ttls.c291 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_eap_process()
317 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_request_eap_method()
389 struct eap_hdr *hdr, in eap_ttls_phase2_request_eap()
396 if (len <= sizeof(struct eap_hdr)) { in eap_ttls_phase2_request_eap()
749 struct eap_hdr *hdr, in eap_ttls_phase2_request()
979 struct eap_hdr *hdr; in eap_ttls_fake_identity_request()
991 hdr = (struct eap_hdr *) buf; in eap_ttls_fake_identity_request()
1031 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap()
1042 hdr = (struct eap_hdr *) parse->eapdata; in eap_ttls_process_phase2_eap()
1254 struct eap_hdr *hdr; in eap_ttls_implicit_identity_request()
[all …]
HDeap_tls_common.h130 struct eap_hdr *hdr, struct wpabuf **resp);
HDeap_gtc.c115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
HDeap_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()
HDeap_fast.c419 struct eap_hdr *hdr, in eap_fast_phase2_request()
428 if (len <= sizeof(struct eap_hdr)) { in eap_fast_phase2_request()
563 struct eap_hdr *hdr; in eap_fast_process_eap_payload_tlv()
573 hdr = (struct eap_hdr *) eap_payload_tlv; in eap_fast_process_eap_payload_tlv()
1529 const struct eap_hdr *req; in eap_fast_process()
HDeap.c562 const struct eap_hdr *hdr, size_t len) in eap_peer_erp_reauth_start()
1184 sizeof(struct eap_hdr) + 1 + count + 1, in eap_sm_buildNak()
1525 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate()
1576 static void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_finish()
1740 const struct eap_hdr *hdr; in eap_sm_parseEapReq()
HDeap_leap.c274 const struct eap_hdr *eap; in eap_leap_process()
HDeap_tls_common.c1085 struct eap_hdr *hdr, struct wpabuf **resp) in eap_peer_tls_phase2_nak()
HDeap_sim.c1029 const struct eap_hdr *req; in eap_sim_process()
HDeap_aka.c1282 const struct eap_hdr *req; in eap_aka_process()
/NextBSD/contrib/wpa/src/eap_server/
HDeap_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()
468 struct eap_hdr *hdr; in eap_peap_build_phase2_term()
900 const struct eap_hdr *hdr; in eap_peap_process_phase2_response()
1049 const struct eap_hdr *hdr; in eap_peap_process_phase2()
1078 const struct eap_hdr *resp; in eap_peap_process_phase2()
1079 struct eap_hdr *nhdr; in eap_peap_process_phase2()
1081 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
[all …]
HDeap_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()
HDeap_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()
HDeap_server_fast.c972 struct eap_hdr *hdr; in eap_fast_process_phase2_response()
985 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_response()
1093 struct eap_hdr *hdr; in eap_fast_process_phase2_eap()
1096 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_eap()
HDeap_server_pax.c198 mlen = sizeof(struct eap_hdr) + 1 + len; in eap_pax_check()
/NextBSD/contrib/wpa/src/ap/
HDieee802_1x.c305 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity()
307 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity()
309 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity()
311 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity()
696 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response()
728 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate()
764 struct eap_hdr *eap; in handle_eap()
772 eap = (struct eap_hdr *) buf; in handle_eap()
1172 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/NextBSD/contrib/wpa/wpa_supplicant/
HDeapol_test.c181 const struct eap_hdr *hdr; in ieee802_1x_encapsulate_radius()
197 hdr = (const struct eap_hdr *) eap; in ieee802_1x_encapsulate_radius()
697 struct eap_hdr *eap; in send_eap_request_identity()
704 eap = (struct eap_hdr *) (hdr + 1); in send_eap_request_identity()
750 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
/NextBSD/contrib/wpa/src/eapol_supp/
HDeapol_supp_sm.c1270 len - sizeof(*hdr) > sizeof(struct eap_hdr)) { in eapol_sm_rx_eapol()
1271 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1272 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
1305 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol()
1306 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol()
/NextBSD/contrib/wpa/src/eapol_auth/
HDeapol_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()
/NextBSD/contrib/wpa/src/radius/
HDradius_server.c935 struct eap_hdr eapfail; in radius_server_reject()