Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c53 if (wpabuf_resize(&beacon, pos - buf) != 0) in hostapd_build_ap_extra_ies()
59 if (wpabuf_resize(&proberesp, pos - buf) != 0) in hostapd_build_ap_extra_ies()
67 if (wpabuf_resize(&assocresp, pos - buf) != 0) in hostapd_build_ap_extra_ies()
75 if (wpabuf_resize(&beacon, pos - buf) != 0) in hostapd_build_ap_extra_ies()
79 if (wpabuf_resize(&proberesp, pos - buf) != 0) in hostapd_build_ap_extra_ies()
85 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < in hostapd_build_ap_extra_ies()
92 if (wpabuf_resize(&proberesp, in hostapd_build_ap_extra_ies()
100 if (wpabuf_resize(&beacon, wpabuf_len(hapd->p2p_beacon_ie)) < in hostapd_build_ap_extra_ies()
107 if (wpabuf_resize(&proberesp, in hostapd_build_ap_extra_ies()
116 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
[all …]
/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);
Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() function
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c425 wpabuf_resize(&extra_ie, 100) == 0) in wpa_supplicant_extra_ies()
440 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) in wpa_supplicant_extra_ies()
449 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
753 if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 7) == 0) in wpa_supplicant_scan()
Dgas_query.c132 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1063 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full()
1087 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_aka.c339 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c238 if (wpabuf_resize(&conn->push_buf, len) < 0) { in tls_push_func()
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c852 if (wpabuf_resize(&p2p->sd_rx_resp, end - pos) < 0) in p2p_rx_gas_comeback_resp()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c1207 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(buf)) < 0) { in eap_peapv2_start_phase2()
Deap_server_aka.c259 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
Deap_server_fast.c829 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
/external/wpa_supplicant_8/src/radius/
Dradius.c597 if (wpabuf_resize(&msg->buf, buf_needed) < 0) in radius_msg_add_attr()