/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_client.c | 184 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 D | scan.c | 594 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 D | wnm_sta.c | 919 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 D | gas_query.c | 220 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
|
H A D | mesh.c | 605 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
|
H A D | rrm.c | 291 if (wpabuf_resize(buf, 5 + data_len)) in wpas_rrm_report_elem()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ap_drv_ops.c | 50 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 D | fils_hlp.c | 117 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 D | gas_query_ap.c | 199 if (wpabuf_resize(&query->resp, len) < 0) { in gas_query_append()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | wpabuf.h | 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
|
H A D | wpabuf.c | 47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() function
|
H A D | utils_module_tests.c | 525 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 D | eap_server_eke.c | 293 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 D | eap_server_tls_common.c | 416 if (wpabuf_resize(&data->tls_out, wpabuf_len(encr)) < 0) in eap_server_tls_phase1()
|
H A D | eap_server_aka.c | 300 if (wpabuf_resize(&data->id_msgs, wpabuf_len(msg)) < 0) in eap_aka_add_id_msg()
|
H A D | eap_server_peap.c | 526 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr_req)) < 0) { in eap_peap_build_phase2_term()
|
H A D | eap_server_fast.c | 828 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_fast_encrypt_phase2()
|
H A D | eap_server_teap.c | 875 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(encr)) < 0) { in eap_teap_encrypt_phase2()
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_sim_common.c | 1064 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 D | eap_eke.c | 484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
|
H A D | eap_tls_common.c | 513 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment()
|
H A D | eap_aka.c | 484 } else if (wpabuf_resize(&data->id_msgs, len) < 0) { in eap_aka_add_id_msg()
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_sd.c | 834 if (wpabuf_resize(&p2p->sd_rx_resp, end - pos) < 0) in p2p_rx_gas_comeback_resp()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_gnutls.c | 188 if (wpabuf_resize(&conn->push_buf, len) < 0) { in tls_push_func()
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius.c | 761 if (wpabuf_resize(&msg->buf, buf_needed) < 0) in radius_msg_add_attr()
|