Home
last modified time | relevance | path

Searched refs:tlvs (Results 1 – 16 of 16) sorted by relevance

/dragonfly/contrib/wpa_supplicant/src/wps/
HDwps.h950 int wps_validate_m1(const struct wpabuf *tlvs);
951 int wps_validate_m2(const struct wpabuf *tlvs);
952 int wps_validate_m2d(const struct wpabuf *tlvs);
953 int wps_validate_m3(const struct wpabuf *tlvs);
954 int wps_validate_m4(const struct wpabuf *tlvs);
955 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
956 int wps_validate_m5(const struct wpabuf *tlvs);
957 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
958 int wps_validate_m6(const struct wpabuf *tlvs);
959 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
[all …]
HDwps_validate.c1285 int wps_validate_m1(const struct wpabuf *tlvs) in wps_validate_m1() argument
1290 if (tlvs == NULL) { in wps_validate_m1()
1294 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m1()
1341 int wps_validate_m2(const struct wpabuf *tlvs) in wps_validate_m2() argument
1346 if (tlvs == NULL) { in wps_validate_m2()
1350 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2()
1396 int wps_validate_m2d(const struct wpabuf *tlvs) in wps_validate_m2d() argument
1401 if (tlvs == NULL) { in wps_validate_m2d()
1405 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2d()
1448 int wps_validate_m3(const struct wpabuf *tlvs) in wps_validate_m3() argument
[all …]
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
HDp2p_supplicant_sd.c690 u16 update_indic, const u8 *tlvs, size_t tlvs_len) in wpas_sd_request() argument
693 const u8 *pos = tlvs; in wpas_sd_request()
694 const u8 *end = tlvs + tlvs_len; in wpas_sd_request()
703 tlvs, tlvs_len); in wpas_sd_request()
707 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_request()
717 update_indic, tlvs, tlvs_len); in wpas_sd_request()
806 update_indic, tlvs, tlvs_len); in wpas_sd_request()
889 const u8 *tlvs, size_t tlvs_len) in wpas_sd_response() argument
892 const u8 *pos = tlvs; in wpas_sd_response()
893 const u8 *end = tlvs + tlvs_len; in wpas_sd_response()
[all …]
HDnotify.c655 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
659 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
665 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
668 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
HDnotify.h111 u16 update_indic, const u8 *tlvs,
115 const u8 *tlvs, size_t tlvs_len);
HDp2p_supplicant.h84 const struct wpabuf *tlvs);
113 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
115 const u8 *tlvs, size_t tlvs_len);
HDctrl_iface.c5828 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
5896 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
5897 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
5899 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
5900 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
5904 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
5905 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/dragonfly/contrib/wpa_supplicant/src/eap_common/
HDeap_common.c209 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs, in erp_parse_tlvs() argument
212 os_memset(tlvs, 0, sizeof(*tlvs)); in erp_parse_tlvs()
247 if (tlvs->keyname) { in erp_parse_tlvs()
252 tlvs->keyname = pos; in erp_parse_tlvs()
253 tlvs->keyname_len = tlv_len; in erp_parse_tlvs()
257 tlvs->domain = pos; in erp_parse_tlvs()
258 tlvs->domain_len = tlv_len; in erp_parse_tlvs()
HDeap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/dragonfly/contrib/wpa_supplicant/src/p2p/
HDp2p_sd.c152 wpabuf_free(q->tlvs); in p2p_free_sd_query()
172 struct wpabuf *tlvs) in p2p_build_sd_query() argument
177 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
185 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_query()
215 const struct wpabuf *tlvs) in p2p_build_sd_response() argument
222 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
226 if (tlvs) { in p2p_build_sd_response()
232 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_response()
303 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
873 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
HDp2p.h827 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
843 const u8 *tlvs, size_t tlvs_len);
1388 const struct wpabuf *tlvs);
1392 const struct wpabuf *tlvs);
HDp2p_i.h158 struct wpabuf *tlvs; member
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/dbus/
HDdbus_new.h230 u16 update_indic, const u8 *tlvs,
234 const u8 *tlvs, size_t tlvs_len);
498 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
505 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
HDdbus_new.c1828 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
1873 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1897 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
1938 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/dragonfly/contrib/wpa_supplicant/src/ap/
HDwpa_auth_ft.c305 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
310 if (!tlvs) in wpa_ft_tlv_len()
313 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
315 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
322 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
330 if (!tlvs) in wpa_ft_tlv_lin()
335 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
340 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
341 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
344 if (tlv_len + tlvs[i].len > (size_t) (endpos - start)) in wpa_ft_tlv_lin()
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_server/
HDeap_server.c791 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
828 tlvs = pos; in SM_STATE()
836 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
968 tlvs, end - tlvs); in SM_STATE()
969 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()