Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dwpabuf.c33 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
66 struct wpabuf * wpabuf_alloc(size_t len) in wpabuf_alloc() function
92 struct wpabuf *buf = wpabuf_alloc(len); in wpabuf_alloc_copy()
101 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup()
154 n = wpabuf_alloc(len); in wpabuf_concat()
193 ret = wpabuf_alloc(len); in wpabuf_zeropad()
Dwpabuf.h33 struct wpabuf * wpabuf_alloc(size_t len);
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Ddh_groups.c563 *priv = wpabuf_alloc(dh->prime_len); in dh_init()
580 pv = wpabuf_alloc(pv_len); in dh_init()
616 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_enrollee.c129 msg = wpabuf_alloc(1000); in wps_build_m1()
175 msg = wpabuf_alloc(1000); in wps_build_m3()
199 plain = wpabuf_alloc(200); in wps_build_m5()
203 msg = wpabuf_alloc(1000); in wps_build_m5()
300 plain = wpabuf_alloc(500 + wps->wps->ap_settings_len); in wps_build_m7()
304 msg = wpabuf_alloc(1000 + wps->wps->ap_settings_len); in wps_build_m7()
335 msg = wpabuf_alloc(1000); in wps_build_wsc_done()
363 msg = wpabuf_alloc(1000); in wps_build_wsc_ack()
385 msg = wpabuf_alloc(1000); in wps_build_wsc_nack()
Dwps_registrar.c777 ie = wpabuf_alloc(wpabuf_len(data) + 100); in wps_ie_encapsulate()
811 beacon = wpabuf_alloc(300); in wps_set_ie()
814 probe = wpabuf_alloc(400); in wps_set_ie()
1177 cred = wpabuf_alloc(200); in wps_build_cred()
1223 msg = wpabuf_alloc(1000); in wps_build_m2()
1260 msg = wpabuf_alloc(1000); in wps_build_m2d()
1299 plain = wpabuf_alloc(200); in wps_build_m4()
1303 msg = wpabuf_alloc(1000); in wps_build_m4()
1334 plain = wpabuf_alloc(200); in wps_build_m6()
1338 msg = wpabuf_alloc(1000); in wps_build_m6()
[all …]
Dwps.c251 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie()
291 ie = wpabuf_alloc(200); in wps_build_probe_req_ie()
Dwps_upnp_web.c714 buf = wpabuf_alloc(200); in web_connection_parse_get()
729 buf = wpabuf_alloc(1000 + extra_len); in web_connection_parse_get()
1206 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply()
1459 buf = wpabuf_alloc(1000); in web_connection_parse_subscribe()
1742 buf = wpabuf_alloc(200); in web_connection_parse_unsubscribe()
1755 buf = wpabuf_alloc(200); in web_connection_unimplemented()
Dwps_upnp.c524 buf = wpabuf_alloc(buf_size); in upnp_wps_device_send_event()
643 struct wpabuf *msg = wpabuf_alloc(100); in build_fake_wsc_ack()
714 buf = wpabuf_alloc(500 + os_strlen(wlan_event)); in subscription_first_event()
Dwps_common.c167 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
Dwps_upnp_event.c293 buf = wpabuf_alloc(1000 + wpabuf_len(e->data)); in event_send_tx_ready()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Dikev2.c438 data->i_dh_public = wpabuf_alloc(kei_len - 4); in ikev2_process_kei()
1147 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1500); in ikev2_build_sa_init()
1172 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init()
1209 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1000); in ikev2_build_sa_auth()
1214 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
1243 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + 1000); in ikev2_build_notify()
1248 struct wpabuf *plain = wpabuf_alloc(100); in ikev2_build_notify()
Deap_peap.c594 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload()
824 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt()
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt()
952 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
977 resp = wpabuf_alloc(sizeof(struct eap_hdr)); in eap_peap_decrypt()
Deap_fast.c488 buf = wpabuf_alloc(sizeof(*nak)); in eap_fast_tlv_nak()
504 buf = wpabuf_alloc(sizeof(*result)); in eap_fast_tlv_result()
526 buf = wpabuf_alloc(sizeof(*res) + sizeof(*ack)); in eap_fast_tlv_pac_ack()
779 resp = wpabuf_alloc(len); in eap_fast_process_crypto_binding()
1127 tmp = wpabuf_alloc(sizeof(struct eap_tlv_hdr) + in eap_fast_pac_request()
1244 resp = wpabuf_alloc(1); in eap_fast_process_decrypted()
Deap_tnc.c184 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
384 resp = wpabuf_alloc(rlen); in eap_tnc_process()
Deap_ttls.c230 msg = wpabuf_alloc(sizeof(struct ttls_avp) + wpabuf_len(*resp) + 4); in eap_ttls_avp_encapsulate()
656 msg = wpabuf_alloc(identity_len + 1000); in eap_ttls_phase2_request_mschapv2()
741 msg = wpabuf_alloc(identity_len + 1000); in eap_ttls_phase2_request_mschap()
830 msg = wpabuf_alloc(identity_len + password_len + 100); in eap_ttls_phase2_request_pap()
890 msg = wpabuf_alloc(identity_len + 1000); in eap_ttls_phase2_request_chap()
Deap_wsc.c275 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_tls_common.c224 data->in_buf = wpabuf_alloc(message_length); in eap_server_tls_process_fragment()
348 buf = wpabuf_alloc(buf_len); in eap_server_tls_encrypt()
Deap_peap.c117 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload()
1063 in_decrypted = wpabuf_alloc(buf_len); in eap_peap_process_phase2()
1092 wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
1141 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_process_phase2()
1221 buf = wpabuf_alloc(data->ssl.tls_out_limit); in eap_peapv2_start_phase2()
Deap_tnc.c120 req = wpabuf_alloc(rlen); in eap_tnc_build()
390 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
Dikev2.c1107 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + 1000); in ikev2_build_sa_init()
1164 msg = wpabuf_alloc(sizeof(struct ikev2_hdr) + data->IDr_len + 1000); in ikev2_build_sa_auth()
1169 plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_auth()
Deap_wsc.c316 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
Deap_ikev2.c313 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_common.c116 buf = wpabuf_alloc(len); in eap_msg_alloc()
Deap_fast_common.c59 e = wpabuf_alloc(sizeof(struct pac_tlv_hdr) + wpabuf_len(buf)); in eap_fast_tlv_eap_payload()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dscan_helpers.c68 buf = wpabuf_alloc(res->ie_len); in wpa_scan_get_vendor_ie_multi()

12