/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | wpabuf.c | 33 *_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()
|
D | wpabuf.h | 33 struct wpabuf * wpabuf_alloc(size_t len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | dh_groups.c | 563 *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/ |
D | wps_enrollee.c | 129 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()
|
D | wps_registrar.c | 777 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 …]
|
D | wps.c | 251 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie() 291 ie = wpabuf_alloc(200); in wps_build_probe_req_ie()
|
D | wps_upnp_web.c | 714 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()
|
D | wps_upnp.c | 524 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()
|
D | wps_common.c | 167 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings()
|
D | wps_upnp_event.c | 293 buf = wpabuf_alloc(1000 + wpabuf_len(e->data)); in event_send_tx_ready()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | ikev2.c | 438 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()
|
D | eap_peap.c | 594 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()
|
D | eap_fast.c | 488 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()
|
D | eap_tnc.c | 184 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 384 resp = wpabuf_alloc(rlen); in eap_tnc_process()
|
D | eap_ttls.c | 230 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()
|
D | eap_wsc.c | 275 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_tls_common.c | 224 data->in_buf = wpabuf_alloc(message_length); in eap_server_tls_process_fragment() 348 buf = wpabuf_alloc(buf_len); in eap_server_tls_encrypt()
|
D | eap_peap.c | 117 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()
|
D | eap_tnc.c | 120 req = wpabuf_alloc(rlen); in eap_tnc_build() 390 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
|
D | ikev2.c | 1107 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()
|
D | eap_wsc.c | 316 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
|
D | eap_ikev2.c | 313 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_common.c | 116 buf = wpabuf_alloc(len); in eap_msg_alloc()
|
D | eap_fast_common.c | 59 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/ |
D | scan_helpers.c | 68 buf = wpabuf_alloc(res->ie_len); in wpa_scan_get_vendor_ie_multi()
|