/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_ttls.c | 160 size_t eap_len; member 238 parse->eap_len = dlen; in eap_ttls_avp_parse() 241 parse->eap_len + dlen); in eap_ttls_avp_parse() 248 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse() 250 parse->eap_len += dlen; in eap_ttls_avp_parse() 958 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument 973 if (eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap() 975 "packet (len=%lu)", (unsigned long) eap_len); in eap_ttls_process_phase2_eap() 984 if (len > eap_len) { in eap_ttls_process_phase2_eap() 987 (unsigned long) len, (unsigned long) eap_len); in eap_ttls_process_phase2_eap() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_ttls.c | 160 size_t eap_len; member 238 parse->eap_len = dlen; in eap_ttls_avp_parse() 241 parse->eap_len + dlen); in eap_ttls_avp_parse() 248 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse() 250 parse->eap_len += dlen; in eap_ttls_avp_parse() 966 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument 981 if (eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap() 983 "packet (len=%lu)", (unsigned long) eap_len); in eap_ttls_process_phase2_eap() 992 if (len > eap_len) { in eap_ttls_process_phase2_eap() 995 (unsigned long) len, (unsigned long) eap_len); in eap_ttls_process_phase2_eap() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_sake_common.c | 332 int peer, const u8 *eap, size_t eap_len, in eap_sake_compute_mic() argument 340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic() 377 os_memcpy(pos, eap, eap_len); in eap_sake_compute_mic()
|
D | eap_sake_common.h | 91 int peer, const u8 *eap, size_t eap_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_sake_common.c | 332 int peer, const u8 *eap, size_t eap_len, in eap_sake_compute_mic() argument 340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic() 377 os_memcpy(pos, eap, eap_len); in eap_sake_compute_mic()
|
D | eap_sake_common.h | 91 int peer, const u8 *eap, size_t eap_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_ttls.c | 881 size_t eap_len; member 897 parse->eap_len = dlen; in eap_ttls_parse_attr_eap() 899 u8 *neweap = os_realloc(parse->eapdata, parse->eap_len + dlen); in eap_ttls_parse_attr_eap() 905 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap() 907 parse->eap_len += dlen; in eap_ttls_parse_attr_eap() 1103 parse->eapdata, parse->eap_len); in eap_ttls_process_phase2_eap() 1106 if (parse->eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap() 1109 (unsigned long) parse->eap_len, in eap_ttls_process_phase2_eap() 1114 if (len > parse->eap_len) { in eap_ttls_process_phase2_eap() 1119 (unsigned long) parse->eap_len); in eap_ttls_process_phase2_eap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_ttls.c | 910 size_t eap_len; member 926 parse->eap_len = dlen; in eap_ttls_parse_attr_eap() 928 u8 *neweap = os_realloc(parse->eapdata, parse->eap_len + dlen); in eap_ttls_parse_attr_eap() 934 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap() 936 parse->eap_len += dlen; in eap_ttls_parse_attr_eap() 1132 parse->eapdata, parse->eap_len); in eap_ttls_process_phase2_eap() 1135 if (parse->eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap() 1138 (unsigned long) parse->eap_len, in eap_ttls_process_phase2_eap() 1143 if (len > parse->eap_len) { in eap_ttls_process_phase2_eap() 1148 (unsigned long) parse->eap_len); in eap_ttls_process_phase2_eap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
D | eapol_supp_sm.c | 1594 size_t eap_len; in eapol_sm_get_key() local 1603 eap_key = eap_proxy_get_eapKeyData(sm->eap_proxy, &eap_len); in eapol_sm_get_key() 1616 eap_key = eap_get_eapKeyData(sm->eap, &eap_len); in eapol_sm_get_key() 1624 if (len > eap_len) { in eapol_sm_get_key() 1627 (unsigned long) len, (unsigned long) eap_len); in eapol_sm_get_key() 1628 return eap_len; in eapol_sm_get_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
D | eapol_supp_sm.c | 1578 size_t eap_len; in eapol_sm_get_key() local 1587 eap_key = eap_proxy_get_eapKeyData(sm->eap_proxy, &eap_len); in eapol_sm_get_key() 1600 eap_key = eap_get_eapKeyData(sm->eap, &eap_len); in eapol_sm_get_key() 1608 if (len > eap_len) { in eapol_sm_get_key() 1611 (unsigned long) len, (unsigned long) eap_len); in eapol_sm_get_key() 1612 return eap_len; in eapol_sm_get_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ieee802_1x.c | 945 u16 eap_len; in handle_eap() local 954 eap_len = be_to_host16(eap->length); in handle_eap() 957 eap_len); in handle_eap() 958 if (eap_len < sizeof(*eap)) { in handle_eap() 961 } else if (eap_len > len) { in handle_eap() 965 } else if (eap_len < len) { in handle_eap() 968 (unsigned long) len - eap_len); in handle_eap() 973 handle_eap_response(hapd, sta, eap, eap_len); in handle_eap() 976 handle_eap_initiate(hapd, sta, eap, eap_len); in handle_eap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ieee802_1x.c | 922 u16 eap_len; in handle_eap() local 931 eap_len = be_to_host16(eap->length); in handle_eap() 933 eap->code, eap->identifier, eap_len); in handle_eap() 934 if (eap_len < sizeof(*eap)) { in handle_eap() 937 } else if (eap_len > len) { in handle_eap() 941 } else if (eap_len < len) { in handle_eap() 943 "packet", (unsigned long) len - eap_len); in handle_eap() 952 handle_eap_response(hapd, sta, eap, eap_len); in handle_eap() 962 handle_eap_initiate(hapd, sta, eap, eap_len); in handle_eap()
|