Home
last modified time | relevance | path

Searched refs:wpabuf_len (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwifi_display.c51 len += wpabuf_len(global->wfd_subelem[i]); in wifi_display_get_wfd_ie()
137 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
141 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
145 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
148 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
151 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
154 len += wpabuf_len(global->wfd_subelem[WFD_SUBELEM_EXT_CAPAB]); in wifi_display_update_wfd_ie()
307 ie, ie ? (unsigned long) wpabuf_len(ie) : 0); in wifi_display_subelem_set_from_ies()
309 if (ie == NULL || wpabuf_len(ie) < 6) in wifi_display_subelem_set_from_ies()
313 end = pos + wpabuf_len(ie); in wifi_display_subelem_set_from_ies()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwifi_display.c51 len += wpabuf_len(global->wfd_subelem[i]); in wifi_display_get_wfd_ie()
137 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
141 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
145 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
148 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
151 len += wpabuf_len(global->wfd_subelem[ in wifi_display_update_wfd_ie()
154 len += wpabuf_len(global->wfd_subelem[WFD_SUBELEM_EXT_CAPAB]); in wifi_display_update_wfd_ie()
307 ie, ie ? (unsigned long) wpabuf_len(ie) : 0); in wifi_display_subelem_set_from_ies()
309 if (ie == NULL || wpabuf_len(ie) < 6) in wifi_display_subelem_set_from_ies()
313 end = pos + wpabuf_len(ie); in wifi_display_subelem_set_from_ies()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_rrm.c187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp()
426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
530 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
537 wpabuf_put_u8(buf, wpabuf_len(nr->nr)); in hostapd_send_range_req()
542 *len = wpabuf_len(buf) - 7; in hostapd_send_range_req()
[all …]
Drrm.c187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp()
426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
530 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
537 wpabuf_put_u8(buf, wpabuf_len(nr->nr)); in hostapd_send_range_req()
542 *len = wpabuf_len(buf) - 7; in hostapd_send_range_req()
[all …]
Dhs20.c146 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification()
164 buf = wpabuf_alloc(4 + 6 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
175 wpabuf_put_u8(buf, 4 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
181 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_deauth_req()
227 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_t_c()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_rrm.c187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp()
426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
530 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
537 wpabuf_put_u8(buf, wpabuf_len(nr->nr)); in hostapd_send_range_req()
542 *len = wpabuf_len(buf) - 7; in hostapd_send_range_req()
[all …]
Dbeacon.c380 buflen += wpabuf_len(hapd->wps_probe_resp_ie); in hostapd_gen_probe_resp()
384 buflen += wpabuf_len(hapd->p2p_probe_resp_ie); in hostapd_gen_probe_resp()
388 buflen += wpabuf_len(hapd->iface->fst_ies); in hostapd_gen_probe_resp()
391 buflen += wpabuf_len(hapd->conf->vendor_elements); in hostapd_gen_probe_resp()
495 wpabuf_len(hapd->iface->fst_ies)); in hostapd_gen_probe_resp()
496 pos += wpabuf_len(hapd->iface->fst_ies); in hostapd_gen_probe_resp()
535 wpabuf_len(hapd->wps_probe_resp_ie)); in hostapd_gen_probe_resp()
536 pos += wpabuf_len(hapd->wps_probe_resp_ie); in hostapd_gen_probe_resp()
544 wpabuf_len(hapd->p2p_probe_resp_ie)); in hostapd_gen_probe_resp()
545 pos += wpabuf_len(hapd->p2p_probe_resp_ie); in hostapd_gen_probe_resp()
[all …]
Dhs20.c146 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification()
164 buf = wpabuf_alloc(4 + 6 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
175 wpabuf_put_u8(buf, 4 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
181 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_deauth_req()
227 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_t_c()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_backup.c54 len += wpabuf_len(priv_key); in dpp_build_conf_params()
98 attr = wpabuf_alloc(100 + wpabuf_len(conf_params)); in dpp_build_attribute()
179 key = wpabuf_alloc(100 + wpabuf_len(alg) + wpabuf_len(priv_key) + in dpp_build_key_pkg()
180 wpabuf_len(attr)); in dpp_build_key_pkg()
193 asn1_put_hdr(key, ASN1_CLASS_CONTEXT_SPECIFIC, 1, 0, wpabuf_len(attr)); in dpp_build_key_pkg()
245 params = wpabuf_alloc(100 + wpabuf_len(salt) + wpabuf_len(prf)); in dpp_build_pbkdf2_alg_id()
298 wpabuf_len(cont_enc_key), 0, NULL, NULL, in dpp_build_pw_recipient_info()
318 pwri = wpabuf_alloc(100 + wpabuf_len(key_der_alg) + in dpp_build_pw_recipient_info()
319 wpabuf_len(key_enc_alg) + wpabuf_len(enc_key)); in dpp_build_pw_recipient_info()
328 wpabuf_len(key_der_alg)); in dpp_build_pw_recipient_info()
[all …]
Ddpp_reconfig.c73 len[0] = wpabuf_len(uncomp); in dpp_build_reconfig_announcement()
94 attr_len += 4 + wpabuf_len(a_nonce); in dpp_build_reconfig_announcement()
95 attr_len += 4 + wpabuf_len(e_id); in dpp_build_reconfig_announcement()
112 wpabuf_put_le16(msg, wpabuf_len(a_nonce)); in dpp_build_reconfig_announcement()
117 wpabuf_put_le16(msg, wpabuf_len(e_id)); in dpp_build_reconfig_announcement()
325 4 + wpabuf_len(conn_status); in dpp_reconfig_build_resp()
337 wpabuf_put_le16(clear, wpabuf_len(conn_status)); in dpp_reconfig_build_resp()
347 4 + wpabuf_len(pr) + in dpp_reconfig_build_resp()
348 4 + wpabuf_len(clear) + AES_BLOCK_SIZE; in dpp_reconfig_build_resp()
377 wpabuf_put_le16(msg, wpabuf_len(pr)); in dpp_reconfig_build_resp()
[all …]
Ddpp_pkex.c619 wpabuf_put_le16(clear, wpabuf_len(A_pub)); in dpp_pkex_build_commit_reveal_req()
660 wpabuf_put_le16(msg, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_req()
661 wrapped = wpabuf_put(msg, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_req()
665 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_req()
669 wrapped, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_req()
843 len[num_elem] = wpabuf_len(A_pub) / 2; in dpp_pkex_rx_exchange_resp()
846 len[num_elem] = wpabuf_len(Y_pub) / 2; in dpp_pkex_rx_exchange_resp()
849 len[num_elem] = wpabuf_len(X_pub) / 2; in dpp_pkex_rx_exchange_resp()
938 wpabuf_put_le16(clear, wpabuf_len(B_pub)); in dpp_pkex_build_commit_reveal_resp()
979 wpabuf_put_le16(msg, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_resp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpabuf.c171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup()
173 wpabuf_put_data(buf, wpabuf_head(src), wpabuf_len(src)); in wpabuf_dup()
211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free()
219 void *tmp = wpabuf_mhead_u8(buf) + wpabuf_len(buf); in wpabuf_put()
246 len += wpabuf_len(a); in wpabuf_concat()
247 len += wpabuf_len(b); in wpabuf_concat()
283 blen = wpabuf_len(buf); in wpabuf_zeropad()
301 void *tmp = wpabuf_mhead_u8(buf) + wpabuf_len(buf); in wpabuf_printf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpabuf.c171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup()
173 wpabuf_put_data(buf, wpabuf_head(src), wpabuf_len(src)); in wpabuf_dup()
211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free()
219 void *tmp = wpabuf_mhead_u8(buf) + wpabuf_len(buf); in wpabuf_put()
246 len += wpabuf_len(a); in wpabuf_concat()
247 len += wpabuf_len(b); in wpabuf_concat()
283 blen = wpabuf_len(buf); in wpabuf_zeropad()
301 void *tmp = wpabuf_mhead_u8(buf) + wpabuf_len(buf); in wpabuf_printf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius.c383 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
385 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish()
387 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
389 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish()
391 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish()
413 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_srv()
417 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish_srv()
425 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_finish_srv()
430 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_srv()
432 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_srv()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius.c383 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
385 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish()
387 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
389 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish()
391 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish()
413 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_srv()
417 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish_srv()
425 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_finish_srv()
430 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_srv()
432 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_srv()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_common.c35 if (wpabuf_len(msg) < sizeof(*hdr)) { in eap_hdr_len_valid()
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) { in eap_hdr_len_valid()
171 if (wpabuf_len(msg) < sizeof(*hdr)) in eap_update_len()
173 hdr->length = host_to_be16(wpabuf_len(msg)); in eap_update_len()
186 if (wpabuf_len(msg) < sizeof(*eap)) in eap_get_id()
201 if (wpabuf_len(msg) < sizeof(struct eap_hdr) + 1) in eap_get_type()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_common.c35 if (wpabuf_len(msg) < sizeof(*hdr)) { in eap_hdr_len_valid()
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) { in eap_hdr_len_valid()
171 if (wpabuf_len(msg) < sizeof(*hdr)) in eap_update_len()
173 hdr->length = host_to_be16(wpabuf_len(msg)); in eap_update_len()
186 if (wpabuf_len(msg) < sizeof(*eap)) in eap_get_id()
201 if (wpabuf_len(msg) < sizeof(struct eap_hdr) + 1) in eap_get_type()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_build.c82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
175 len[0] = wpabuf_len(wps->last_msg); in wps_build_authenticator()
177 len[1] = wpabuf_len(msg); in wps_build_authenticator()
375 wpabuf_len(msg), hash); in wps_build_key_wrap_auth()
394 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings()
398 wpabuf_put_be16(msg, block_size + wpabuf_len(plain)); in wps_build_encr_settings()
406 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain))) in wps_build_encr_settings()
425 hash_len = wpabuf_len(pubkey); in wps_build_oob_dev_pw()
460 ie = wpabuf_alloc(wpabuf_len(data) + 100); in wps_ie_encapsulate()
467 end = pos + wpabuf_len(data); in wps_ie_encapsulate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_build.c82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
175 len[0] = wpabuf_len(wps->last_msg); in wps_build_authenticator()
177 len[1] = wpabuf_len(msg); in wps_build_authenticator()
383 wpabuf_len(msg), hash) < 0) in wps_build_key_wrap_auth()
403 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings()
407 wpabuf_put_be16(msg, block_size + wpabuf_len(plain)); in wps_build_encr_settings()
415 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain))) in wps_build_encr_settings()
434 hash_len = wpabuf_len(pubkey); in wps_build_oob_dev_pw()
469 ie = wpabuf_alloc(wpabuf_len(data) + 100); in wps_ie_encapsulate()
476 end = pos + wpabuf_len(data); in wps_ie_encapsulate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_tls_common.c477 tls_in_len = data->tls_in ? wpabuf_len(data->tls_in) : 0; in eap_peer_tls_reassemble_fragment()
478 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
548 if (data->tls_in_left > wpabuf_len(in_data) || data->tls_in) { in eap_peer_tls_data_reassemble()
641 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
645 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
660 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
685 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
737 if (data->tls_out && wpabuf_len(data->tls_out) > 0 && in eap_peer_tls_process_helper()
738 wpabuf_len(in_data) > 0) { in eap_peer_tls_process_helper()
744 if (data->tls_out == NULL || wpabuf_len(data->tls_out) == 0) { in eap_peer_tls_process_helper()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_sd.c29 end = pos + wpabuf_len(wfd); in wfd_wsd_supported()
177 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
205 wpabuf_head(req), wpabuf_len(req), 200) < 0) in p2p_send_gas_comeback_req()
222 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd()
438 if (wpabuf_len(resp_tlvs) > max_len) { in p2p_sd_response()
475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response()
656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
666 wpabuf_len(p2p->sd_resp)); in p2p_rx_gas_comeback_req()
676 (int) (wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos)); in p2p_rx_gas_comeback_req()
[all …]
Dp2p_group.c131 if (wpabuf_tailroom(ie) < wpabuf_len(m->client_info) + 1) in p2p_client_info()
170 wpabuf_put_le16(ie, wpabuf_len(noa)); in p2p_group_add_noa()
184 len = wpabuf_len(subelems) + 100; in p2p_group_encaps_probe_resp()
191 end = pos + wpabuf_len(subelems); in p2p_group_encaps_probe_resp()
216 extra = wpabuf_len(group->p2p->wfd_ie_beacon); in p2p_group_build_beacon_ie()
221 extra += wpabuf_len(group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]); in p2p_group_build_beacon_ie()
263 ie = wpabuf_alloc(wpabuf_len(subelems) + 100); in wifi_display_encaps()
268 end = pos + wpabuf_len(subelems); in wifi_display_encaps()
299 end = pos + wpabuf_len(m->wfd_ie); in wifi_display_add_dev_info_descr()
364 wfd_subelems = wpabuf_alloc(wpabuf_len(group->p2p->wfd_ie_probe_resp) + in wifi_display_build_go_ie()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_sd.c29 end = pos + wpabuf_len(wfd); in wfd_wsd_supported()
177 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
205 wpabuf_head(req), wpabuf_len(req), 200) < 0) in p2p_send_gas_comeback_req()
222 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd()
438 if (wpabuf_len(resp_tlvs) > max_len) { in p2p_sd_response()
475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response()
656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req()
666 wpabuf_len(p2p->sd_resp)); in p2p_rx_gas_comeback_req()
676 (int) (wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos)); in p2p_rx_gas_comeback_req()
[all …]
Dp2p_group.c131 if (wpabuf_tailroom(ie) < wpabuf_len(m->client_info) + 1) in p2p_client_info()
170 wpabuf_put_le16(ie, wpabuf_len(noa)); in p2p_group_add_noa()
184 len = wpabuf_len(subelems) + 100; in p2p_group_encaps_probe_resp()
191 end = pos + wpabuf_len(subelems); in p2p_group_encaps_probe_resp()
216 extra = wpabuf_len(group->p2p->wfd_ie_beacon); in p2p_group_build_beacon_ie()
221 extra += wpabuf_len(group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]); in p2p_group_build_beacon_ie()
263 ie = wpabuf_alloc(wpabuf_len(subelems) + 100); in wifi_display_encaps()
268 end = pos + wpabuf_len(subelems); in wifi_display_encaps()
299 end = pos + wpabuf_len(m->wfd_ie); in wifi_display_add_dev_info_descr()
364 wfd_subelems = wpabuf_alloc(wpabuf_len(group->p2p->wfd_ie_probe_resp) + in wifi_display_build_go_ie()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_tls_common.c469 tls_in_len = data->tls_in ? wpabuf_len(data->tls_in) : 0; in eap_peer_tls_reassemble_fragment()
470 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
540 if (data->tls_in_left > wpabuf_len(in_data) || data->tls_in) { in eap_peer_tls_data_reassemble()
632 len = wpabuf_len(data->tls_out) - data->tls_out_pos; in eap_tls_process_output()
636 (unsigned long) wpabuf_len(data->tls_out)); in eap_tls_process_output()
651 (wpabuf_len(data->tls_out) > data->tls_out_limit || in eap_tls_process_output()
676 wpabuf_put_be32(*out_data, wpabuf_len(data->tls_out)); in eap_tls_process_output()
728 if (data->tls_out && wpabuf_len(data->tls_out) > 0 && in eap_peer_tls_process_helper()
729 wpabuf_len(in_data) > 0) { in eap_peer_tls_process_helper()
735 if (data->tls_out == NULL || wpabuf_len(data->tls_out) == 0) { in eap_peer_tls_process_helper()
[all …]

12345678910>>...14