Home
last modified time | relevance | path

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

/hostap-latest/src/wps/
Dwps.h968 int wps_validate_m1(const struct wpabuf *tlvs);
969 int wps_validate_m2(const struct wpabuf *tlvs);
970 int wps_validate_m2d(const struct wpabuf *tlvs);
971 int wps_validate_m3(const struct wpabuf *tlvs);
972 int wps_validate_m4(const struct wpabuf *tlvs);
973 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
974 int wps_validate_m5(const struct wpabuf *tlvs);
975 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
976 int wps_validate_m6(const struct wpabuf *tlvs);
977 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
[all …]
Dwps_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 …]
/hostap-latest/wpa_supplicant/
Dp2p_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 …]
Dp2p_supplicant.h88 const struct wpabuf *tlvs);
117 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
119 const u8 *tlvs, size_t tlvs_len);
Dnotify.h116 u16 update_indic, const u8 *tlvs,
120 const u8 *tlvs, size_t tlvs_len);
Dnotify.c708 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
712 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
718 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
721 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
Dctrl_iface.c6578 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
6646 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
6647 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
6649 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
6650 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
6654 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
6655 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/hostap-latest/src/eap_common/
Deap_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()
Deap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/hostap-latest/src/p2p/
Dp2p_sd.c151 wpabuf_free(q->tlvs); in p2p_free_sd_query()
171 struct wpabuf *tlvs) in p2p_build_sd_query() argument
176 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
184 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_query()
214 const struct wpabuf *tlvs) in p2p_build_sd_response() argument
221 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
225 if (tlvs) { in p2p_build_sd_response()
231 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_response()
301 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
880 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
Dp2p.h838 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
854 const u8 *tlvs, size_t tlvs_len);
1402 const struct wpabuf *tlvs);
1406 const struct wpabuf *tlvs);
Dp2p_i.h160 struct wpabuf *tlvs; member
/hostap-latest/wpa_supplicant/dbus/
Ddbus_new.h238 u16 update_indic, const u8 *tlvs,
242 const u8 *tlvs, size_t tlvs_len);
518 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
525 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
Ddbus_new.c1979 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
2024 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
2048 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
2089 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/hostap-latest/src/ap/
Dwpa_auth_ft.c310 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
315 if (!tlvs) in wpa_ft_tlv_len()
318 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
320 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
327 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
335 if (!tlvs) in wpa_ft_tlv_lin()
340 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
345 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
346 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
349 if (tlv_len + tlvs[i].len > (size_t) (endpos - start)) in wpa_ft_tlv_lin()
[all …]
/hostap-latest/src/eap_server/
Deap_server.c799 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
837 tlvs = pos; in SM_STATE()
845 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
977 tlvs, end - tlvs); in SM_STATE()
978 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()
/hostap-latest/doc/
Ddbus.doxygen1791 <tr><td>tlvs</td><td>ay</td><td></td><td>yes</td></tr>
2052 <tr><td>tlvs</td><td>ay</td><td></td></tr>
2068 <tr><td>tlvs</td><td>ay</td><td></td></tr>
/hostap-latest/tests/hwsim/
Dtest_ap_wps.py6235 tlvs = binascii.unhexlify(test)
6236 newmsg = base64.b64encode(tlvs).decode()