Home
last modified time | relevance | path

Searched refs:eap_len (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c160 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 …]
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c320 int peer, const u8 *eap, size_t eap_len, in eap_sake_compute_mic() argument
327 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
364 os_memcpy(pos, eap, eap_len); in eap_sake_compute_mic()
Deap_sake_common.h91 int peer, const u8 *eap, size_t eap_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_ttls.c881 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()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.c1578 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()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c835 u16 eap_len; in handle_eap() local
844 eap_len = be_to_host16(eap->length); in handle_eap()
846 eap->code, eap->identifier, eap_len); in handle_eap()
847 if (eap_len < sizeof(*eap)) { in handle_eap()
850 } else if (eap_len > len) { in handle_eap()
854 } else if (eap_len < len) { in handle_eap()
856 "packet", (unsigned long) len - eap_len); in handle_eap()
865 handle_eap_response(hapd, sta, eap, eap_len); in handle_eap()
875 handle_eap_initiate(hapd, sta, eap, eap_len); in handle_eap()