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
239 parse->eap_len = dlen; in eap_ttls_avp_parse()
242 parse->eap_len + dlen); in eap_ttls_avp_parse()
249 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse()
251 parse->eap_len += dlen; in eap_ttls_avp_parse()
956 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument
971 if (eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap()
973 "packet (len=%lu)", (unsigned long) eap_len); in eap_ttls_process_phase2_eap()
982 if (len > eap_len) { in eap_ttls_process_phase2_eap()
985 (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.c863 size_t eap_len; member
880 parse->eap_len = dlen; in eap_ttls_parse_attr_eap()
882 u8 *neweap = os_realloc(parse->eapdata, parse->eap_len + dlen); in eap_ttls_parse_attr_eap()
888 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
890 parse->eap_len += dlen; in eap_ttls_parse_attr_eap()
1086 parse->eapdata, parse->eap_len); in eap_ttls_process_phase2_eap()
1089 if (parse->eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap()
1092 (unsigned long) parse->eap_len, in eap_ttls_process_phase2_eap()
1097 if (len > parse->eap_len) { in eap_ttls_process_phase2_eap()
1102 (unsigned long) parse->eap_len); in eap_ttls_process_phase2_eap()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.c1556 size_t eap_len; in eapol_sm_get_key() local
1565 eap_key = eap_proxy_get_eapKeyData(sm->eap_proxy, &eap_len); in eapol_sm_get_key()
1578 eap_key = eap_get_eapKeyData(sm->eap, &eap_len); in eapol_sm_get_key()
1586 if (len > eap_len) { in eapol_sm_get_key()
1589 (unsigned long) len, (unsigned long) eap_len); in eapol_sm_get_key()
1590 return eap_len; in eapol_sm_get_key()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c795 u16 eap_len; in handle_eap() local
804 eap_len = be_to_host16(eap->length); in handle_eap()
806 eap->code, eap->identifier, eap_len); in handle_eap()
807 if (eap_len < sizeof(*eap)) { in handle_eap()
810 } else if (eap_len > len) { in handle_eap()
814 } else if (eap_len < len) { in handle_eap()
816 "packet", (unsigned long) len - eap_len); in handle_eap()
825 handle_eap_response(hapd, sta, eap, eap_len); in handle_eap()
835 handle_eap_initiate(hapd, sta, eap, eap_len); in handle_eap()