Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c497 if (wpabuf_resize(ie, 5)) { in wpas_fils_req_param_add_max_channel()
537 wpabuf_resize(&default_ies, ext_capab_len) == 0) in wpa_supplicant_set_default_scan_ies()
544 if (wpabuf_resize(&default_ies, 12) == 0) in wpa_supplicant_set_default_scan_ies()
557 if (len > 0 && wpabuf_resize(&default_ies, len) == 0) in wpa_supplicant_set_default_scan_ies()
589 wpabuf_resize(&extra_ie, ext_capab_len) == 0) in wpa_supplicant_extra_ies()
594 wpabuf_resize(&extra_ie, 100) == 0) in wpa_supplicant_extra_ies()
614 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) in wpa_supplicant_extra_ies()
623 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
633 if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 9) == 0) in wpa_supplicant_extra_ies()
639 wpabuf_resize(&extra_ie, wpabuf_len(wpa_s->fst_ies)) == 0) in wpa_supplicant_extra_ies()
[all …]
Dwnm_sta.c897 if (wpabuf_resize(buf, 18) < 0) { in wnm_add_nei_rep()
1072 if (wpabuf_resize(&buf, ret) < 0) { in wnm_send_bss_transition_mgmt_resp()
1639 ret = wpabuf_resize(&buf, max_len); in wnm_send_bss_transition_mgmt_query()
Dmesh.c571 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
Dgas_query.c212 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
Drrm.c291 if (wpabuf_resize(buf, 5 + data_len)) in wpas_rrm_report_elem()
/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/ap/
Dap_drv_ops.c50 if (wpabuf_resize(dst, wpabuf_len(src)) != 0) in add_buf()
61 if (wpabuf_resize(dst, len) != 0) in add_buf_data()
127 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
134 if (wpabuf_resize(&proberesp, 100) == 0) { in hostapd_build_ap_extra_ies()
153 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/src/utils/
Dwpabuf.h29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() function
Dutils_module_tests.c525 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
543 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
/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_tls_common.c404 if (wpabuf_resize(&data->tls_out, wpabuf_len(encr)) < 0) in eap_server_tls_phase1()
Deap_server_aka.c260 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
Deap_server_fast.c839 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
Deap_server_peap.c522 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr_req)) < 0) { in eap_peap_build_phase2_term()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1064 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full()
1088 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add()
/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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_eke.c484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
Deap_tls_common.c504 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
Deap_aka.c460 } else if (wpabuf_resize(&data->id_msgs, len) < 0) { in eap_aka_add_id_msg()
/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.c649 if (wpabuf_resize(&msg->buf, buf_needed) < 0) in radius_msg_add_attr()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c2625 ret = wpabuf_resize(&buf, frag_ies->frags[i].ie_len); in ieee802_11_defrag_data()

12