Home
last modified time | relevance | path

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

1234

/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()
241 n = wpabuf_alloc(len); in wpabuf_concat()
280 ret = wpabuf_alloc(len); in wpabuf_zeropad()
Dbrowser-system.c48 resp = wpabuf_alloc(1); in http_req()
Dbrowser-android.c48 resp = wpabuf_alloc(1); in http_req()
Dext_password.c89 buf = wpabuf_alloc(len); in ext_password_alloc()
Dbrowser-wpadebug.c48 resp = wpabuf_alloc(100); in http_req()
Dwpabuf.h30 struct wpabuf * wpabuf_alloc(size_t len);
/external/wpa_supplicant_8/src/wps/
Dwps_common.c168 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
361 plain = wpabuf_alloc(500); in wps_get_oob_cred()
417 data = wpabuf_alloc(200); in wps_build_nfc_pw_token()
575 msg = wpabuf_alloc(1000); in wps_build_wsc_ack()
598 msg = wpabuf_alloc(1000); in wps_build_wsc_nack()
672 pw = wpabuf_alloc(WPS_OOB_DEVICE_PASSWORD_LEN); in wps_nfc_token_gen()
714 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_req()
793 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_sel()
830 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_req_p2p()
874 msg = wpabuf_alloc(1000); in wps_build_nfc_handover_sel_p2p()
Dwps_upnp_web.c350 buf = wpabuf_alloc(200); in web_connection_parse_get()
367 buf = wpabuf_alloc(1000 + extra_len); in web_connection_parse_get()
708 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply()
932 buf = wpabuf_alloc(1000); in web_connection_parse_subscribe()
1242 buf = wpabuf_alloc(200); in web_connection_parse_unsubscribe()
1256 buf = wpabuf_alloc(200); in web_connection_unimplemented()
Dwps_module_tests.c278 buf = wpabuf_alloc(len); in wps_attr_parse_tests()
Dwps.c423 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie()
457 ie = wpabuf_alloc(100); in wps_build_assoc_resp_ie()
502 ie = wpabuf_alloc(500); in wps_build_probe_req_ie()
Dwps_enrollee.c115 msg = wpabuf_alloc(1000); in wps_build_m1()
184 msg = wpabuf_alloc(1000); in wps_build_m3()
209 plain = wpabuf_alloc(200); in wps_build_m5()
213 msg = wpabuf_alloc(1000); in wps_build_m5()
352 plain = wpabuf_alloc(500 + wps->wps->ap_settings_len); in wps_build_m7()
356 msg = wpabuf_alloc(1000 + wps->wps->ap_settings_len); in wps_build_m7()
398 msg = wpabuf_alloc(1000); in wps_build_wsc_done()
Dwps_registrar.c1248 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1251 probe = wpabuf_alloc(500 + vendor_len); in wps_set_ie()
1563 wbuf = wpabuf_alloc(200); in wps_build_credential_wrap()
1700 cred = wpabuf_alloc(200); in wps_build_cred()
1725 cred = wpabuf_alloc(200); in wps_build_cred()
1764 msg = wpabuf_alloc(1000); in wps_build_ap_cred()
1768 plain = wpabuf_alloc(200); in wps_build_ap_cred()
1801 msg = wpabuf_alloc(1000); in wps_build_m2()
1837 struct wpabuf *plain = wpabuf_alloc(500); in wps_build_m2()
1868 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()
449 req = wpabuf_alloc(os_strlen(ap->event_sub_url) + 1000); in wps_er_subscribe()
712 buf = wpabuf_alloc(200); in wps_er_http_resp_not_found()
731 buf = wpabuf_alloc(200); in wps_er_http_resp_ok()
915 buf = wpabuf_alloc(1000 + encoded_len); in wps_er_soap_hdr()
1233 buf = wpabuf_alloc(200); in wps_er_http_req()
1519 msg = wpabuf_alloc(500); in wps_er_set_sel_reg()
2033 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()
1220 pv = wpabuf_alloc(pv_len); in dh_init()
1256 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
Dtls_internal.c421 return wpabuf_alloc(0); in tls_connection_server_handshake()
445 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
464 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
510 buf = wpabuf_alloc((wpabuf_len(in_data) + 500) * 3); in tls_connection_decrypt2()
Dtls_gnutls.c920 ad = wpabuf_alloc((wpabuf_len(conn->pull_buf) + 500) * 3); in gnutls_get_appl_data()
975 conn->push_buf = wpabuf_alloc(0); in tls_connection_handshake()
1006 conn->push_buf = wpabuf_alloc(0); in tls_connection_handshake()
1087 out = wpabuf_alloc((wpabuf_len(in_data) + 500) * 3); in tls_connection_decrypt()
/external/wpa_supplicant_8/src/ap/
Dhs20.c113 buf = wpabuf_alloc(4 + 7 + len); in hs20_send_wnm_notification()
155 buf = wpabuf_alloc(4 + 6 + wpabuf_len(payload)); in hs20_send_wnm_notification_deauth_req()
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c185 ie = wpabuf_alloc(len); in p2p_group_encaps_probe_resp()
222 ie = wpabuf_alloc(257 + extra); in p2p_group_build_beacon_ie()
262 ie = wpabuf_alloc(wpabuf_len(subelems) + 100); in wifi_display_encaps()
363 wfd_subelems = wpabuf_alloc(wpabuf_len(group->p2p->wfd_ie_probe_resp) + in wifi_display_build_go_ie()
444 p2p_subelems = wpabuf_alloc(500); in p2p_group_build_probe_resp_ie()
536 buf = wpabuf_alloc(ETH_ALEN + 1 + 1 + msg.p2p_device_info_len); in p2p_build_client_info()
664 resp = wpabuf_alloc(20 + extra); in p2p_group_assoc_resp_ie()
883 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/wpa_supplicant/
Dwifi_display.c54 ie = wpabuf_alloc(len); in wifi_display_get_wfd_ie()
147 buf = wpabuf_alloc(len); in wifi_display_update_wfd_ie()
250 e = wpabuf_alloc(1 + len); in wifi_display_subelem_set()
/external/wpa_supplicant_8/src/common/
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()
1084 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1500); in ikev2_build_sa_init()
1109 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init()
1146 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1000); in ikev2_build_sa_auth()
1151 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
1180 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + 1000); in ikev2_build_notify()
1185 struct wpabuf *plain = wpabuf_alloc(100); in ikev2_build_notify()
Deap_tnc.c178 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
379 resp = wpabuf_alloc(rlen); in eap_tnc_process()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c40 iface->xml = wpabuf_alloc(6000); in add_interface()
254 xml = wpabuf_alloc(10000); in wpa_dbus_introspect()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c137 buf = wpabuf_alloc(len); in eap_msg_alloc()

1234