Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_ttls.c148 size_t eap_len; member
227 parse->eap_len = dlen; in eap_ttls_avp_parse()
230 parse->eap_len + dlen); in eap_ttls_avp_parse()
237 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse()
239 parse->eap_len += dlen; in eap_ttls_avp_parse()
1079 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument
1094 if (eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap()
1096 "packet (len=%lu)", (unsigned long) eap_len); in eap_ttls_process_phase2_eap()
1105 if (len > eap_len) { in eap_ttls_process_phase2_eap()
1108 (unsigned long) len, (unsigned long) eap_len); in eap_ttls_process_phase2_eap()
[all …]
/external/wpa_supplicant/
Deap_sake_common.c325 int peer, const u8 *eap, size_t eap_len, in eap_sake_compute_mic() argument
332 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
369 os_memcpy(pos, eap, eap_len); in eap_sake_compute_mic()
Deap_ttls.c1083 size_t resp_len, eap_len = 0, len_decrypted = 0, len, buf_len, left; in eap_ttls_decrypt() local
1276 eap_len = dlen; in eap_ttls_decrypt()
1279 eap_len + dlen); in eap_ttls_decrypt()
1287 os_memcpy(neweap + eap_len, dpos, dlen); in eap_ttls_decrypt()
1289 eap_len += dlen; in eap_ttls_decrypt()
1346 eapdata, eap_len); in eap_ttls_decrypt()
1349 if (eap_len < sizeof(*hdr)) { in eap_ttls_decrypt()
1352 "- dropped", (unsigned long) eap_len, in eap_ttls_decrypt()
1358 if (len > eap_len) { in eap_ttls_decrypt()
1363 (unsigned long) eap_len); in eap_ttls_decrypt()
Deap_sake_common.h101 int peer, const u8 *eap, size_t eap_len,
Deapol_sm.c1356 size_t eap_len; in eapol_sm_get_key() local
1360 eap_key = eap_get_eapKeyData(sm->eap, &eap_len); in eapol_sm_get_key()
1363 if (len > eap_len) in eapol_sm_get_key()
1364 return eap_len; in eapol_sm_get_key()
Dradius.c542 u8 *radius_msg_get_eap(struct radius_msg *msg, size_t *eap_len) in radius_msg_get_eap() argument
574 if (eap_len) in radius_msg_get_eap()
575 *eap_len = len; in radius_msg_get_eap()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_sake_common.c326 int peer, const u8 *eap, size_t eap_len, in eap_sake_compute_mic() argument
333 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
370 os_memcpy(pos, eap, eap_len); in eap_sake_compute_mic()
Deap_sake_common.h97 int peer, const u8 *eap, size_t eap_len,
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_ttls.c1060 size_t eap_len; member
1077 parse->eap_len = dlen; in eap_ttls_parse_attr_eap()
1079 u8 *neweap = os_realloc(parse->eapdata, parse->eap_len + dlen); in eap_ttls_parse_attr_eap()
1085 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
1087 parse->eap_len += dlen; in eap_ttls_parse_attr_eap()
1282 parse->eapdata, parse->eap_len); in eap_ttls_process_phase2_eap()
1285 if (parse->eap_len < sizeof(*hdr)) { in eap_ttls_process_phase2_eap()
1288 (unsigned long) parse->eap_len, in eap_ttls_process_phase2_eap()
1293 if (len > parse->eap_len) { in eap_ttls_process_phase2_eap()
1298 (unsigned long) parse->eap_len); in eap_ttls_process_phase2_eap()
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/
Deapol_supp_sm.c1405 size_t eap_len; in eapol_sm_get_key() local
1411 eap_key = eap_get_eapKeyData(sm->eap, &eap_len); in eapol_sm_get_key()
1416 if (len > eap_len) { in eapol_sm_get_key()
1419 (unsigned long) len, (unsigned long) eap_len); in eapol_sm_get_key()
1420 return eap_len; in eapol_sm_get_key()
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_server.c489 size_t eap_len; in radius_server_request() local
551 eap = radius_msg_get_eap(msg, &eap_len); in radius_server_request()
560 RADIUS_DUMP("Received EAP data", eap, eap_len); in radius_server_request()
570 sess->eap_if->eapRespData = wpabuf_alloc_ext_data(eap, eap_len); in radius_server_request()
Dradius.c545 u8 *radius_msg_get_eap(struct radius_msg *msg, size_t *eap_len) in radius_msg_get_eap() argument
578 if (eap_len) in radius_msg_get_eap()
579 *eap_len = len; in radius_msg_get_eap()