Home
last modified time | relevance | path

Searched refs:wpabuf_alloc (Results 1 – 25 of 119) 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.c88 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_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_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()
/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/common/
Ddpp_backup.c82 buf = wpabuf_alloc(len); in dpp_build_conf_params()
125 attr = wpabuf_alloc(100 + wpabuf_len(conf_params)); in dpp_build_attribute()
167 params = wpabuf_alloc(20); in dpp_build_key_alg()
215 key = wpabuf_alloc(100 + wpabuf_len(alg) + wpabuf_len(priv_key) + in dpp_build_key_pkg()
281 params = wpabuf_alloc(100 + wpabuf_len(salt) + wpabuf_len(prf)); in dpp_build_pbkdf2_alg_id()
310 salt = wpabuf_alloc(64); in dpp_build_pw_recipient_info()
331 enc_key = wpabuf_alloc(hash_len + AES_BLOCK_SIZE); in dpp_build_pw_recipient_info()
354 pwri = wpabuf_alloc(100 + wpabuf_len(key_der_alg) + in dpp_build_pw_recipient_info()
439 enc_cont = wpabuf_alloc(enc_cont_len); in dpp_build_enc_cont_info()
447 enc_cont_info = wpabuf_alloc(100 + wpabuf_len(enc_alg) + in dpp_build_enc_cont_info()
[all …]
Dgas.c22 buf = wpabuf_alloc(100 + size); in gas_build_req()
53 buf = wpabuf_alloc(100 + size); in gas_build_resp()
Dcommon_module_tests.c233 buf = wpabuf_alloc(1); in gas_tests()
239 buf = wpabuf_alloc(20); in gas_tests()
411 buf = wpabuf_alloc(1000); in sae_tests()
/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/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.c226 mbo = wpabuf_alloc(len - MBO_IE_HEADER); in wpas_mbo_ie()
272 buf = wpabuf_alloc(4 + len); in wpas_mbo_send_wnm_notification()
301 buf = wpabuf_alloc(512); in wpas_mbo_non_pref_chan_changed()
623 anqp_buf = wpabuf_alloc(9 + MAX_MBO_ANQP_SUBTYPE); in mbo_build_anqp_buf()
Dpasn_supplicant.c104 buf = wpabuf_alloc(6 + SAE_COMMIT_MAX_LEN); in wpas_pasn_wd_sae_commit()
227 buf = wpabuf_alloc(6 + SAE_CONFIRM_MAX_LEN); in wpas_pasn_wd_sae_confirm()
272 buf = wpabuf_alloc(1500); in wpas_pasn_fils_build_auth()
629 buf = wpabuf_alloc(1500); in wpas_pasn_build_auth_1()
740 buf = wpabuf_alloc(1500); in wpas_pasn_build_auth_3()
996 pasn->beacon_rsne_rsnxe = wpabuf_alloc(beacon_rsne_len + in wpas_pasn_start()
/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/eap_common/
Deap_teap_common.c57 e = wpabuf_alloc(sizeof(struct teap_tlv_hdr) + wpabuf_len(buf)); in eap_teap_tlv_eap_payload()
660 buf = wpabuf_alloc(sizeof(*result)); in eap_teap_tlv_result()
681 buf = wpabuf_alloc(4 + 4); in eap_teap_tlv_error()
697 buf = wpabuf_alloc(4 + 2); in eap_teap_tlv_identity_type()
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c409 data->i_dh_public = wpabuf_alloc(kei_len - 4); in ikev2_process_kei()
1085 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1500); in ikev2_build_sa_init()
1110 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init()
1147 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1000); in ikev2_build_sa_auth()
1152 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
1181 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + 1000); in ikev2_build_notify()
1186 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(30000); in wpa_dbus_introspect()

12345