/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_common.c | 27 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()
|
H A D | eap_defs.h | 18 struct eap_hdr { struct
|
H A D | eap_sim_common.c | 983 struct eap_hdr *eap; in eap_sim_msg_init() 1013 struct eap_hdr *eap; in eap_sim_msg_finish()
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_peap.c | 635 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request() 643 if (len <= sizeof(struct eap_hdr)) { in eap_peap_phase2_request() 709 if (len < sizeof(struct eap_hdr) + 8) { in eap_peap_phase2_request() 794 const struct eap_hdr *req, in eap_peap_decrypt() 800 struct eap_hdr *hdr, *rhdr; in eap_peap_decrypt() 863 struct eap_hdr *nhdr; in eap_peap_decrypt() 864 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt() 874 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt() 948 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt() 973 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt() [all …]
|
H A D | eap_ttls.c | 375 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_eap_process() 401 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_request_eap_method() 476 struct eap_hdr *hdr, in eap_ttls_phase2_request_eap() 483 if (len <= sizeof(struct eap_hdr)) { in eap_ttls_phase2_request_eap() 495 if (len < sizeof(struct eap_hdr) + 8) { in eap_ttls_phase2_request_eap() 866 struct eap_hdr *hdr, in eap_ttls_phase2_request() 1095 struct eap_hdr *hdr; in eap_ttls_fake_identity_request() 1107 hdr = (struct eap_hdr *) buf; in eap_ttls_fake_identity_request() 1147 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap() 1158 hdr = (struct eap_hdr *) parse->eapdata; in eap_ttls_process_phase2_eap() [all …]
|
H A D | eap_tls_common.h | 143 struct eap_hdr *hdr, struct wpabuf **resp);
|
H A D | eap_gtc.c | 115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
|
H A D | eap_fast.c | 422 struct eap_hdr *hdr, in eap_fast_phase2_request() 433 if (len <= sizeof(struct eap_hdr)) { in eap_fast_phase2_request() 441 if (len < sizeof(struct eap_hdr) + 8) { in eap_fast_phase2_request() 583 struct eap_hdr *hdr; in eap_fast_process_eap_payload_tlv() 593 hdr = (struct eap_hdr *) eap_payload_tlv; in eap_fast_process_eap_payload_tlv() 1541 const struct eap_hdr *req; in eap_fast_process()
|
H A D | eap.h | 372 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len);
|
H A D | eap_psk.c | 284 sizeof(struct eap_hdr) + 1 + in eap_psk_process_3() 348 sizeof(struct eap_hdr) + 1 + sizeof(*hdr4), in eap_psk_process_3()
|
H A D | eap_teap.c | 407 struct eap_hdr *hdr, in eap_teap_phase2_request() 418 if (len <= sizeof(struct eap_hdr)) { in eap_teap_phase2_request() 427 if (len < sizeof(struct eap_hdr) + 8) { in eap_teap_phase2_request() 561 struct eap_hdr *hdr; in eap_teap_process_eap_payload_tlv() 571 hdr = (struct eap_hdr *) eap_payload_tlv; in eap_teap_process_eap_payload_tlv() 1840 const struct eap_hdr *req; in eap_teap_process()
|
H A D | eap_leap.c | 281 const struct eap_hdr *eap; in eap_leap_process()
|
H A D | eap.c | 1467 sizeof(struct eap_hdr) + 1 + count + 1, in eap_sm_buildNak() 1804 static void eap_peer_initiate(struct eap_sm *sm, const struct eap_hdr *hdr, in eap_peer_initiate() 1855 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len) in eap_peer_finish() 2018 const struct eap_hdr *hdr; in eap_sm_parseEapReq()
|
H A D | eap_tls_common.c | 1195 struct eap_hdr *hdr, struct wpabuf **resp) in eap_peer_tls_phase2_nak()
|
H A D | eap_sim.c | 1197 const struct eap_hdr *req; in eap_sim_process()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_peap.c | 259 req += sizeof(struct eap_hdr); in eap_peap_build_phase2_req() 260 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_req() 299 req += sizeof(struct eap_hdr); in eap_peap_build_phase2_soh() 300 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_soh() 501 struct eap_hdr *hdr; in eap_peap_build_phase2_term() 964 const struct eap_hdr *hdr; in eap_peap_process_phase2_response() 1113 const struct eap_hdr *hdr; in eap_peap_process_phase2() 1142 const struct eap_hdr *resp; in eap_peap_process_phase2() 1143 struct eap_hdr *nhdr; in eap_peap_process_phase2() 1145 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2() [all …]
|
H A D | eap_server.c | 598 const struct eap_hdr *nak; in SM_STATE() 800 const struct eap_hdr *ehdr; in SM_STATE() 1490 const struct eap_hdr *hdr; in eap_sm_parseEapResp() 1550 const struct eap_hdr *hdr; in eap_sm_getId() 1564 struct eap_hdr *resp; in eap_sm_buildSuccess() 1582 struct eap_hdr *resp; in eap_sm_buildFailure() 2012 const struct eap_hdr *hdr; in eap_erp_update_identity() 2018 hdr = (const struct eap_hdr *) eap; in eap_erp_update_identity()
|
H A D | eap_server_ttls.c | 856 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap_response() 869 hdr = (struct eap_hdr *) in_data; in eap_ttls_process_phase2_eap_response() 969 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap() 988 hdr = (struct eap_hdr *) eap; in eap_ttls_process_phase2_eap()
|
H A D | eap_server_fast.c | 970 struct eap_hdr *hdr; in eap_fast_process_phase2_response() 983 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_response() 1102 struct eap_hdr *hdr; in eap_fast_process_phase2_eap() 1105 hdr = (struct eap_hdr *) in_data; in eap_fast_process_phase2_eap()
|
H A D | eap_server_teap.c | 1076 struct eap_hdr *hdr; in eap_teap_process_phase2_response() 1090 hdr = (struct eap_hdr *) in_data; in eap_teap_process_phase2_response() 1222 struct eap_hdr *hdr; in eap_teap_process_phase2_eap() 1225 hdr = (struct eap_hdr *) in_data; in eap_teap_process_phase2_eap()
|
H A D | eap_server_pax.c | 213 mlen = sizeof(struct eap_hdr) + 1 + len; in eap_pax_check()
|
/freebsd/contrib/wpa/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 1327 len - sizeof(*hdr) > sizeof(struct eap_hdr)) { in eapol_sm_rx_eapol() 1328 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() 1329 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol() 1362 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() 1363 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol() 2256 eap_peer_finish(sm->eap, (const struct eap_hdr *) buf, len); in eapol_sm_process_erp_finish()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_1x.c | 405 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity() 407 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity() 409 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity() 411 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity() 921 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() 954 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate() 1012 struct eap_hdr *eap; in handle_eap() 1020 eap = (struct eap_hdr *) buf; in handle_eap() 1503 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.c | 184 const struct eap_hdr *hdr; in ieee802_1x_encapsulate_radius() 203 hdr = (const struct eap_hdr *) eap; in ieee802_1x_encapsulate_radius() 707 struct eap_hdr *eap; in send_eap_request_identity() 714 eap = (struct eap_hdr *) (hdr + 1); in send_eap_request_identity() 772 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|
/freebsd/contrib/wpa/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 89 struct eap_hdr eap; in eapol_auth_tx_canned_eap() 110 wpabuf_len(sm->eap_if->eapReqData) < sizeof(struct eap_hdr)) { in eapol_auth_tx_req()
|