Home
last modified time | relevance | path

Searched refs:wpabuf_alloc (Results 1 – 25 of 103) sorted by relevance

12345

/external/wpa_supplicant_8/src/utils/
Dwpabuf.c55 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
113 struct wpabuf * wpabuf_alloc(size_t len) in wpabuf_alloc() function
162 struct wpabuf *buf = wpabuf_alloc(len); in wpabuf_alloc_copy()
171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup()
249 n = wpabuf_alloc(len); in wpabuf_concat()
287 ret = wpabuf_alloc(len); in wpabuf_zeropad()
330 ret = wpabuf_alloc(len); in wpabuf_parse_bin()
Dbrowser-system.c48 resp = wpabuf_alloc(1); in http_req()
Dext_password.c85 buf = wpabuf_alloc(len); in ext_password_alloc()
Dbrowser-android.c48 resp = wpabuf_alloc(1); in http_req()
Dbrowser-wpadebug.c48 resp = wpabuf_alloc(100); in http_req()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c171 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
362 plain = wpabuf_alloc(500); in wps_get_oob_cred()
418 data = wpabuf_alloc(200); in wps_build_nfc_pw_token()
581 msg = wpabuf_alloc(1000); in wps_build_wsc_ack()
604 msg = wpabuf_alloc(1000); in wps_build_wsc_nack()
679 pw = wpabuf_alloc(WPS_OOB_DEVICE_PASSWORD_LEN); in wps_nfc_token_gen()
721 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_req()
802 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_sel()
839 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_req_p2p()
883 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_sel_p2p()
Dwps_upnp_web.c351 buf = wpabuf_alloc(200); in web_connection_parse_get()
368 buf = wpabuf_alloc(1000 + extra_len); in web_connection_parse_get()
778 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply()
1002 buf = wpabuf_alloc(1000); in web_connection_parse_subscribe()
1321 buf = wpabuf_alloc(200); in web_connection_parse_unsubscribe()
1335 buf = wpabuf_alloc(200); in web_connection_unimplemented()
Dwps_enrollee.c116 msg = wpabuf_alloc(1000); in wps_build_m1()
189 msg = wpabuf_alloc(1000); in wps_build_m3()
214 plain = wpabuf_alloc(200); in wps_build_m5()
218 msg = wpabuf_alloc(1000); in wps_build_m5()
383 plain = wpabuf_alloc(500 + wps->wps->ap_settings_len); in wps_build_m7()
387 msg = wpabuf_alloc(1000 + wps->wps->ap_settings_len); in wps_build_m7()
429 msg = wpabuf_alloc(1000); in wps_build_wsc_done()
Dwps_module_tests.c279 buf = wpabuf_alloc(len); in wps_attr_parse_tests()
Dwps.c425 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie()
459 ie = wpabuf_alloc(100); in wps_build_assoc_resp_ie()
504 ie = wpabuf_alloc(500); in wps_build_probe_req_ie()
Dwps_registrar.c1312 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1315 probe = wpabuf_alloc(500 + vendor_len); in wps_set_ie()
1626 wbuf = wpabuf_alloc(200); in wps_build_credential_wrap()
1798 cred = wpabuf_alloc(200); in wps_build_cred()
1823 cred = wpabuf_alloc(200); in wps_build_cred()
1862 msg = wpabuf_alloc(1000); in wps_build_ap_cred()
1866 plain = wpabuf_alloc(200); in wps_build_ap_cred()
1899 msg = wpabuf_alloc(1000); in wps_build_m2()
1935 struct wpabuf *plain = wpabuf_alloc(500); in wps_build_m2()
1966 msg = wpabuf_alloc(1000); in wps_build_m2d()
[all …]
Dwps_er.c245 req = wpabuf_alloc(os_strlen(ap->event_sub_url) + 1000); in wps_er_ap_unsubscribe()
448 req = wpabuf_alloc(os_strlen(ap->event_sub_url) + 1000); in wps_er_subscribe()
711 buf = wpabuf_alloc(200); in wps_er_http_resp_not_found()
730 buf = wpabuf_alloc(200); in wps_er_http_resp_ok()
914 buf = wpabuf_alloc(1000 + encoded_len); in wps_er_soap_hdr()
1232 buf = wpabuf_alloc(200); in wps_er_http_req()
1518 msg = wpabuf_alloc(500); in wps_er_set_sel_reg()
2043 ret = wpabuf_alloc(500); in wps_er_config_token_from_cred()
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1202 *priv = wpabuf_alloc(dh->prime_len); in dh_init()
1207 pv = wpabuf_alloc(pv_len); in dh_init()
1248 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
Dtls_internal.c545 return wpabuf_alloc(0); in tls_connection_server_handshake()
569 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
588 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
634 buf = wpabuf_alloc((wpabuf_len(in_data) + 500) * 3); in tls_connection_decrypt2()
/external/wpa_supplicant_8/src/ap/
Dhs20.c122 buf = wpabuf_alloc(4 + 7 + len); in hs20_send_wnm_notification()
164 buf = wpabuf_alloc(4 + 6 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
209 buf = wpabuf_alloc(4 + 7 + url_len); in hs20_send_wnm_notification_t_c()
Drrm.c213 buf = wpabuf_alloc(3 + IEEE80211_MAX_MMPDU_SIZE); in hostapd_send_nei_report_resp()
394 buf = wpabuf_alloc(5 + 10); in hostapd_send_lci_req()
481 buf = wpabuf_alloc(7 + 255); in hostapd_send_range_req()
634 buf = wpabuf_alloc(5 + 2 + 3 + wpabuf_len(req)); in hostapd_send_beacon_req()
/external/wpa_supplicant_8/tests/
Dtest-tls.c46 msg = wpabuf_alloc(msg_len); in read_msg()
175 in = wpabuf_alloc(100); in main()
201 in = wpabuf_alloc(100); in main()
/external/wpa_supplicant_8/wpa_supplicant/
Dwifi_display.c54 ie = wpabuf_alloc(len); in wifi_display_get_wfd_ie()
155 buf = wpabuf_alloc(len); in wifi_display_update_wfd_ie()
258 e = wpabuf_alloc(len); in wifi_display_subelem_set()
279 e = wpabuf_alloc(1 + len); in wifi_display_subelem_set()
Dmbo.c196 mbo = wpabuf_alloc(len - MBO_IE_HEADER); in wpas_mbo_ie()
242 buf = wpabuf_alloc(4 + len); in wpas_mbo_send_wnm_notification()
271 buf = wpabuf_alloc(512); in wpas_mbo_non_pref_chan_changed()
588 anqp_buf = wpabuf_alloc(9 + MAX_MBO_ANQP_SUBTYPE); in mbo_build_anqp_buf()
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c186 ie = wpabuf_alloc(len); in p2p_group_encaps_probe_resp()
223 ie = wpabuf_alloc(257 + extra); in p2p_group_build_beacon_ie()
263 ie = wpabuf_alloc(wpabuf_len(subelems) + 100); in wifi_display_encaps()
364 wfd_subelems = wpabuf_alloc(wpabuf_len(group->p2p->wfd_ie_probe_resp) + in wifi_display_build_go_ie()
447 p2p_subelems = wpabuf_alloc(500); in p2p_group_build_probe_resp_ie()
539 buf = wpabuf_alloc(ETH_ALEN + 1 + 1 + msg.p2p_device_info_len); in p2p_build_client_info()
667 resp = wpabuf_alloc(20 + extra); in p2p_group_assoc_resp_ie()
900 buf = wpabuf_alloc(100); in p2p_build_go_disc_req()
Dp2p_dev_disc.c24 buf = wpabuf_alloc(100); in p2p_build_dev_disc_req()
115 buf = wpabuf_alloc(100); in p2p_build_dev_disc_resp()
/external/wpa_supplicant_8/src/common/
Dcommon_module_tests.c232 buf = wpabuf_alloc(1); in gas_tests()
238 buf = wpabuf_alloc(20); in gas_tests()
343 buf = wpabuf_alloc(1000); in sae_tests()
Dgas.c22 buf = wpabuf_alloc(100 + size); in gas_build_req()
53 buf = wpabuf_alloc(100 + size); in gas_build_resp()
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c407 data->i_dh_public = wpabuf_alloc(kei_len - 4); in ikev2_process_kei()
1083 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1500); in ikev2_build_sa_init()
1108 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init()
1145 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1000); in ikev2_build_sa_auth()
1150 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
1179 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + 1000); in ikev2_build_notify()
1184 struct wpabuf *plain = wpabuf_alloc(100); in ikev2_build_notify()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c41 iface->xml = wpabuf_alloc(15000); in add_interface()
260 xml = wpabuf_alloc(20000); in wpa_dbus_introspect()

12345