Lines Matching refs:dpos
940 static int eap_ttls_parse_attr_eap(const u8 *dpos, size_t dlen, in eap_ttls_parse_attr_eap() argument
945 parse->eapdata = os_memdup(dpos, dlen); in eap_ttls_parse_attr_eap()
959 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
973 u8 avp_flags, *dpos; in eap_ttls_parse_avp() local
998 dpos = (u8 *) (avp + 1); in eap_ttls_parse_avp()
1006 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
1009 dpos += 4; in eap_ttls_parse_avp()
1013 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_parse_avp()
1016 if (eap_ttls_parse_attr_eap(dpos, dlen, parse) < 0) in eap_ttls_parse_avp()
1022 dpos, dlen); in eap_ttls_parse_avp()
1026 dpos, dlen); in eap_ttls_parse_avp()
1034 parse->mschapv2 = dpos; in eap_ttls_parse_avp()
1038 dpos, dlen); in eap_ttls_parse_avp()