Home
last modified time | relevance | path

Searched refs:wpabuf_resize (Results 1 – 25 of 26) sorted by relevance

12

/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c49 if (wpabuf_resize(dst, wpabuf_len(src)) != 0) in add_buf()
60 if (wpabuf_resize(dst, len) != 0) in add_buf_data()
122 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
129 if (wpabuf_resize(&proberesp, 100) == 0) { in hostapd_build_ap_extra_ies()
148 if (wpabuf_resize(&assocresp, 100) == 0) { in hostapd_build_ap_extra_ies()
Dfils_hlp.c117 if (wpabuf_resize(&sta->hlp_dhcp_discover, in fils_dhcp_request()
285 if (wpabuf_resize(&sta->fils_hlp_resp, wpabuf_len(resp) + in fils_dhcp_handler()
Dgas_query_ap.c197 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c475 wpabuf_resize(&default_ies, ext_capab_len) == 0) in wpa_supplicant_set_default_scan_ies()
480 if (wpabuf_resize(&default_ies, 12) == 0) in wpa_supplicant_set_default_scan_ies()
511 wpabuf_resize(&extra_ie, ext_capab_len) == 0) in wpa_supplicant_extra_ies()
516 wpabuf_resize(&extra_ie, 100) == 0) in wpa_supplicant_extra_ies()
531 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) in wpa_supplicant_extra_ies()
540 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
550 if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 7) == 0) in wpa_supplicant_extra_ies()
556 wpabuf_resize(&extra_ie, wpabuf_len(wpa_s->fst_ies)) == 0) in wpa_supplicant_extra_ies()
562 if (wpabuf_resize(&extra_ie, 12) == 0) in wpa_supplicant_extra_ies()
569 if (wpabuf_resize(&extra_ie, wpabuf_len(buf)) == 0) in wpa_supplicant_extra_ies()
Dwnm_sta.c801 if (wpabuf_resize(buf, 18) < 0) { in wnm_add_nei_rep()
973 if (wpabuf_resize(&buf, ret) < 0) { in wnm_send_bss_transition_mgmt_resp()
1525 ret = wpabuf_resize(&buf, max_len); in wnm_send_bss_transition_mgmt_query()
Dmesh.c355 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
Dgas_query.c208 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
Drrm.c284 if (wpabuf_resize(buf, 5 + data_len)) in wpas_rrm_report_elem()
Dinterworking.c2739 if (wpabuf_resize(&extra_buf, wpabuf_len(mbo))) { in anqp_send_req()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client.c160 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_handshake()
320 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_decrypt()
336 if (wpabuf_resize(&buf, in_end - pos) < 0) { in tlsv1_client_decrypt()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
Dutils_module_tests.c523 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
541 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() function
/external/wpa_supplicant_8/src/eap_server/
Deap_server_eke.c292 if (wpabuf_resize(&data->msgs, wpabuf_len(msg)) < 0) { in eap_eke_build_commit()
504 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity()
577 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit()
Deap_server_aka.c259 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
Deap_server_fast.c837 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1059 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full()
1083 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c433 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
Deap_eke.c484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
Deap_aka.c454 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c827 if (wpabuf_resize(&p2p->sd_rx_resp, end - pos) < 0) in p2p_rx_gas_comeback_resp()
Dp2p.c663 if (wpabuf_resize(&dev->info.vendor_elems, 2 + len) < 0) in p2p_update_peer_vendor_elems()
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c188 if (wpabuf_resize(&conn->push_buf, len) < 0) { in tls_push_func()
/external/wpa_supplicant_8/src/radius/
Dradius.c647 if (wpabuf_resize(&msg->buf, buf_needed) < 0) in radius_msg_add_attr()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c4699 if (wpabuf_resize(&wpa_s->vendor_elem[frame_id], len) < 0) { in wpas_dbus_handler_vendor_elem_add()

12