/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
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()
|
D | eap_defs.h | 18 struct eap_hdr { struct
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
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()
|
D | eap_defs.h | 18 struct eap_hdr { struct
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_peap.c | 601 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request() 609 if (len <= sizeof(struct eap_hdr)) { in eap_peap_phase2_request() 675 if (len < sizeof(struct eap_hdr) + 8) { in eap_peap_phase2_request() 760 const struct eap_hdr *req, in eap_peap_decrypt() 766 struct eap_hdr *hdr, *rhdr; in eap_peap_decrypt() 829 struct eap_hdr *nhdr; in eap_peap_decrypt() 830 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt() 840 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt() 915 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt() 940 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt() [all …]
|
D | eap_ttls.c | 350 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_eap_process() 376 struct eap_hdr *hdr, size_t len, in eap_ttls_phase2_request_eap_method() 451 struct eap_hdr *hdr, in eap_ttls_phase2_request_eap() 458 if (len <= sizeof(struct eap_hdr)) { in eap_ttls_phase2_request_eap() 470 if (len < sizeof(struct eap_hdr) + 8) { in eap_ttls_phase2_request_eap() 841 struct eap_hdr *hdr, in eap_ttls_phase2_request() 1070 struct eap_hdr *hdr; in eap_ttls_fake_identity_request() 1082 hdr = (struct eap_hdr *) buf; in eap_ttls_fake_identity_request() 1122 struct eap_hdr *hdr; in eap_ttls_process_phase2_eap() 1133 hdr = (struct eap_hdr *) parse->eapdata; in eap_ttls_process_phase2_eap() [all …]
|
D | eap_tls_common.h | 138 struct eap_hdr *hdr, struct wpabuf **resp);
|
D | eap_gtc.c | 115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
|
D | eap_fast.c | 421 struct eap_hdr *hdr, in eap_fast_phase2_request() 432 if (len <= sizeof(struct eap_hdr)) { in eap_fast_phase2_request() 440 if (len < sizeof(struct eap_hdr) + 8) { in eap_fast_phase2_request() 582 struct eap_hdr *hdr; in eap_fast_process_eap_payload_tlv() 592 hdr = (struct eap_hdr *) eap_payload_tlv; in eap_fast_process_eap_payload_tlv() 1551 const struct eap_hdr *req; in eap_fast_process()
|
D | eap.h | 372 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_peap.c | 601 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 …]
|
D | eap_ttls.c | 338 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 …]
|
D | eap_tls_common.h | 138 struct eap_hdr *hdr, struct wpabuf **resp);
|
D | eap_gtc.c | 115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
|
D | eap.h | 373 void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_peap.c | 255 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 …]
|
D | eap_server.c | 591 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() 2035 const struct eap_hdr *hdr; in eap_erp_update_identity() 2041 hdr = (const struct eap_hdr *) eap; in eap_erp_update_identity()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_peap.c | 255 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() 497 struct eap_hdr *hdr; in eap_peap_build_phase2_term() 946 const struct eap_hdr *hdr; in eap_peap_process_phase2_response() 1095 const struct eap_hdr *hdr; in eap_peap_process_phase2() 1124 const struct eap_hdr *resp; in eap_peap_process_phase2() 1125 struct eap_hdr *nhdr; in eap_peap_process_phase2() 1127 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2() [all …]
|
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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
D | eapol_supp_sm.c | 1318 len - sizeof(*hdr) > sizeof(struct eap_hdr)) { in eapol_sm_rx_eapol() 1319 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() 1320 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol() 1353 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() 1354 (const struct eap_hdr *) (hdr + 1); in eapol_sm_rx_eapol() 2241 eap_peer_finish(sm->eap, (const struct eap_hdr *) buf, len); in eapol_sm_process_erp_finish()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ieee802_1x.c | 337 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity() 339 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity() 341 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity() 343 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity() 853 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() 885 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate() 921 struct eap_hdr *eap; in handle_eap() 929 eap = (struct eap_hdr *) buf; in handle_eap() 1402 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ieee802_1x.c | 340 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity() 342 if (len <= sizeof(struct eap_hdr) || in ieee802_1x_learn_identity() 344 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity() 346 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity() 853 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() 886 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_initiate() 944 struct eap_hdr *eap; in handle_eap() 952 eap = (struct eap_hdr *) buf; in handle_eap() 1410 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
D | eapol_supp_sm.c | 1302 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() 2225 eap_peer_finish(sm->eap, (const struct eap_hdr *) buf, len); in eapol_sm_process_erp_finish()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | eapol_test.c | 183 const struct eap_hdr *hdr; in ieee802_1x_encapsulate_radius() 199 hdr = (const struct eap_hdr *) eap; in ieee802_1x_encapsulate_radius() 701 struct eap_hdr *eap; in send_eap_request_identity() 708 eap = (struct eap_hdr *) (hdr + 1); in send_eap_request_identity() 755 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | eapol_test.c | 183 const struct eap_hdr *hdr; in ieee802_1x_encapsulate_radius() 199 hdr = (const struct eap_hdr *) eap; in ieee802_1x_encapsulate_radius() 699 struct eap_hdr *eap; in send_eap_request_identity() 706 eap = (struct eap_hdr *) (hdr + 1); in send_eap_request_identity() 753 const struct eap_hdr *hdr; in ieee802_1x_decapsulate_radius()
|