Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client.c184 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_handshake()
344 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_decrypt()
360 if (wpabuf_resize(&buf, in_end - pos) < 0) { in tlsv1_client_decrypt()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dscan.c594 if (wpabuf_resize(ie, 5)) { in wpas_fils_req_param_add_max_channel()
634 wpabuf_resize(&default_ies, ext_capab_len) == 0) in wpa_supplicant_set_default_scan_ies()
641 if (wpabuf_resize(&default_ies, 12) == 0) in wpa_supplicant_set_default_scan_ies()
654 if (len > 0 && wpabuf_resize(&default_ies, len) == 0) in wpa_supplicant_set_default_scan_ies()
753 wpabuf_resize(&extra_ie, ext_capab_len) == 0) in wpa_supplicant_extra_ies()
758 wpabuf_resize(&extra_ie, 100) == 0) in wpa_supplicant_extra_ies()
778 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) in wpa_supplicant_extra_ies()
787 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
797 if (wpa_s->conf->hs20 && wpabuf_resize(&extra_ie, 9) == 0) in wpa_supplicant_extra_ies()
803 wpabuf_resize(&extra_ie, wpabuf_len(wpa_s->fst_ies)) == 0) in wpa_supplicant_extra_ies()
[all …]
H A Dwnm_sta.c919 if (wpabuf_resize(buf, 18) < 0) { in wnm_add_nei_rep()
1098 if (wpabuf_resize(&buf, ret) < 0) { in wnm_send_bss_transition_mgmt_resp()
1701 ret = wpabuf_resize(&buf, max_len); in wnm_send_bss_transition_mgmt_query()
H A Dgas_query.c220 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
H A Dmesh.c605 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
H A Drrm.c291 if (wpabuf_resize(buf, 5 + data_len)) in wpas_rrm_report_elem()
/freebsd/contrib/wpa/src/ap/
H A 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()
135 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
142 if (wpabuf_resize(&proberesp, 100) == 0) { in hostapd_build_ap_extra_ies()
161 if (wpabuf_resize(&assocresp, 100) == 0) { in hostapd_build_ap_extra_ies()
H A 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()
H A Dgas_query_ap.c199 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
/freebsd/contrib/wpa/src/utils/
H A Dwpabuf.h29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
H A Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() function
H A Dutils_module_tests.c525 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
543 if (wpabuf_resize(&buf, 100) < 0) in wpabuf_tests()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_eke.c293 if (wpabuf_resize(&data->msgs, wpabuf_len(msg)) < 0) { in eap_eke_build_commit()
505 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity()
578 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit()
H A Deap_server_tls_common.c416 if (wpabuf_resize(&data->tls_out, wpabuf_len(encr)) < 0) in eap_server_tls_phase1()
H A Deap_server_aka.c300 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
H A Deap_server_peap.c526 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr_req)) < 0) { in eap_peap_build_phase2_term()
H A Deap_server_fast.c828 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
H A Deap_server_teap.c875 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_teap_encrypt_phase2()
/freebsd/contrib/wpa/src/eap_common/
H A 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()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_eke.c484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
H A Deap_tls_common.c513 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
H A Deap_aka.c484 } else if (wpabuf_resize(&data->id_msgs, len) < 0) { in eap_aka_add_id_msg()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_sd.c834 if (wpabuf_resize(&p2p->sd_rx_resp, end - pos) < 0) in p2p_rx_gas_comeback_resp()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_gnutls.c188 if (wpabuf_resize(&conn->push_buf, len) < 0) { in tls_push_func()
/freebsd/contrib/wpa/src/radius/
H A Dradius.c761 if (wpabuf_resize(&msg->buf, buf_needed) < 0) in radius_msg_add_attr()

12