/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | wpabuf.c | 55 *_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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | wpabuf.c | 55 *_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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_common.c | 171 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()
|
D | wps_upnp_web.c | 351 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_common.c | 171 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()
|
D | wps_upnp_web.c | 351 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_backup.c | 55 buf = wpabuf_alloc(len); in dpp_build_conf_params() 98 attr = wpabuf_alloc(100 + wpabuf_len(conf_params)); in dpp_build_attribute() 140 params = wpabuf_alloc(20); in dpp_build_key_alg() 179 key = wpabuf_alloc(100 + wpabuf_len(alg) + wpabuf_len(priv_key) + in dpp_build_key_pkg() 245 params = wpabuf_alloc(100 + wpabuf_len(salt) + wpabuf_len(prf)); in dpp_build_pbkdf2_alg_id() 274 salt = wpabuf_alloc(64); in dpp_build_pw_recipient_info() 295 enc_key = wpabuf_alloc(hash_len + AES_BLOCK_SIZE); in dpp_build_pw_recipient_info() 318 pwri = wpabuf_alloc(100 + wpabuf_len(key_der_alg) + in dpp_build_pw_recipient_info() 403 enc_cont = wpabuf_alloc(enc_cont_len); in dpp_build_enc_cont_info() 411 enc_cont_info = wpabuf_alloc(100 + wpabuf_len(enc_alg) + in dpp_build_enc_cont_info() [all …]
|
D | gas.c | 22 buf = wpabuf_alloc(100 + size); in gas_build_req() 53 buf = wpabuf_alloc(100 + size); in gas_build_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | dh_groups.c | 1202 *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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | dh_groups.c | 1202 *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()
|
D | tls_internal.c | 545 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | hs20.c | 122 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | hs20.c | 122 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | twt.c | 47 buf = wpabuf_alloc(3 + 17); in wpas_twt_send_setup() 118 buf = wpabuf_alloc(3); in wpas_twt_send_teardown()
|
D | wifi_display.c | 54 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()
|
D | mbo.c | 226 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() 618 anqp_buf = wpabuf_alloc(9 + MAX_MBO_ANQP_SUBTYPE); in mbo_build_anqp_buf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wifi_display.c | 54 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()
|
D | mbo.c | 196 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | common_module_tests.c | 232 buf = wpabuf_alloc(1); in gas_tests() 238 buf = wpabuf_alloc(20); in gas_tests() 343 buf = wpabuf_alloc(1000); in sae_tests()
|
D | gas.c | 22 buf = wpabuf_alloc(100 + size); in gas_build_req() 53 buf = wpabuf_alloc(100 + size); in gas_build_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_group.c | 186 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_group.c | 186 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_teap_common.c | 57 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | ikev2.c | 409 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | ikev2.c | 407 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()
|