/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 261 buf = os_malloc(len); in os_rel2abs_path() 282 ret = os_malloc(ret_len); in os_rel2abs_path() 390 buf = os_malloc(*len); in os_readfile() 567 void * os_malloc(size_t size) in os_malloc() function 592 return os_malloc(size); in os_realloc() 602 n = os_malloc(size); in os_realloc() 638 void *ptr = os_malloc(size); in os_zalloc() 650 d = os_malloc(len + 1); in os_strdup()
|
D | os_internal.c | 157 buf = os_malloc(len); in os_rel2abs_path() 175 ret = os_malloc(ret_len); in os_rel2abs_path() 228 buf = os_malloc(*len); in os_readfile() 254 void *n = os_malloc(size); in os_zalloc() 261 void * os_malloc(size_t size) in os_malloc() function 339 res = os_malloc(len + 1); in os_strdup()
|
D | wpa_debug.c | 289 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump() 324 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump() 617 buf = os_malloc(buflen); in wpa_msg() 657 buf = os_malloc(buflen); in wpa_msg_ctrl() 682 buf = os_malloc(buflen); in wpa_msg_global() 712 buf = os_malloc(buflen); in wpa_msg_global_ctrl() 737 buf = os_malloc(buflen); in wpa_msg_no_global() 776 buf = os_malloc(buflen); in hostapd_logger()
|
D | os.h | 310 void * os_malloc(size_t size); 479 void * os_malloc(size_t size); 484 #ifndef os_malloc 485 #define os_malloc(s) malloc((s)) macro
|
D | base64.c | 42 out = os_malloc(olen); in base64_encode() 121 pos = out = os_malloc(olen); in base64_decode()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.c | 404 sign_data = os_malloc(sign_len); in ikev2_derive_auth_data() 496 decrypted = os_malloc(decrypted_len); in ikev2_decrypt_payload() 651 keybuf = os_malloc(keybuf_len); in ikev2_derive_sk_keys() 663 keys->SK_d = os_malloc(keys->SK_d_len); in ikev2_derive_sk_keys() 671 keys->SK_ai = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys() 679 keys->SK_ar = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys() 687 keys->SK_ei = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys() 695 keys->SK_er = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys() 703 keys->SK_pi = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys() 711 keys->SK_pr = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
|
D | eap_gpsk_common.c | 140 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper() 298 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_keys() 371 data = os_malloc(data_len); in eap_gpsk_derive_mid_helper() 442 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_session_id()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_psk.c | 59 data->id_p = os_malloc(identity_len); in eap_psk_init() 119 data->id_s = os_malloc(data->id_s_len); in eap_psk_process_1() 148 buf = os_malloc(buflen); in eap_psk_process_1() 230 buf = os_malloc(buflen); in eap_psk_process_3() 276 decrypted = os_malloc(left); in eap_psk_process_3() 428 key = os_malloc(EAP_MSK_LEN); in eap_psk_getKey() 448 id = os_malloc(*len); in eap_psk_get_session_id() 469 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk()
|
D | eap_fast_pac.c | 117 *dst = os_malloc(src_len); in eap_fast_copy_buf() 243 buf = os_malloc(*len); in eap_fast_parse_hex() 260 rc->buf = os_malloc(rc->buf_len); in eap_fast_init_pac_data() 630 pos = buf = os_malloc(buf_len); in eap_fast_save_pac() 722 pac->a_id = os_malloc(len); in eap_fast_pac_get_a_id() 731 pac->a_id_info = os_malloc(len); in eap_fast_pac_get_a_id() 820 pac->pac_opaque = os_malloc(pac->pac_opaque_len); in eap_fast_load_pac_bin() 832 pac->pac_info = os_malloc(pac->pac_info_len); in eap_fast_load_pac_bin() 891 buf = os_malloc(len); in eap_fast_save_pac_bin()
|
D | eap_ikev2.c | 86 data->ikev2.IDr = os_malloc(identity_len); in eap_ikev2_init() 94 data->ikev2.shared_secret = os_malloc(password_len); in eap_ikev2_init() 455 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey() 473 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk() 494 sid = os_malloc(sid_len); in eap_ikev2_get_session_id()
|
D | eap_sake.c | 88 data->peerid = os_malloc(identity_len); in eap_sake_init() 233 data->serverid = os_malloc(attr.serverid_len); in eap_sake_process_challenge() 444 key = os_malloc(EAP_MSK_LEN); in eap_sake_getKey() 463 id = os_malloc(*len); in eap_sake_get_session_id() 484 key = os_malloc(EAP_EMSK_LEN); in eap_sake_get_emsk()
|
D | eap_pwd.c | 116 if ((data->id_peer = os_malloc(identity_len)) == NULL) { in eap_pwd_init() 126 if ((data->password = os_malloc(password_len)) == NULL) { in eap_pwd_init() 186 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey() 205 id = os_malloc(1 + SHA256_MAC_LEN); in eap_pwd_get_session_id() 271 data->id_server = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_perform_id_exchange() 513 if (((scalar = os_malloc(BN_num_bytes(data->grp->order))) == NULL) || in eap_pwd_perform_commit_exchange() 514 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == in eap_pwd_perform_commit_exchange() 599 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) || in eap_pwd_perform_confirm_exchange() 1037 if ((key = os_malloc(EAP_EMSK_LEN)) == NULL) in eap_pwd_get_emsk()
|
D | eap_gpsk.c | 99 data->id_peer = os_malloc(identity_len); in eap_gpsk_init() 120 data->psk = os_malloc(password_len); in eap_gpsk_init() 161 data->id_server = os_malloc(alen); in eap_gpsk_process_id_server() 725 key = os_malloc(EAP_MSK_LEN); in eap_gpsk_getKey() 743 key = os_malloc(EAP_EMSK_LEN); in eap_gpsk_get_emsk() 761 sid = os_malloc(data->id_len); in eap_gpsk_get_session_id()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_psk.c | 114 buf = os_malloc(buflen); in eap_psk_build_3() 239 data->id_p = os_malloc(left); in eap_psk_process_2() 298 buf = os_malloc(buflen); in eap_psk_process_2() 374 decrypted = os_malloc(left); in eap_psk_process_4() 453 key = os_malloc(EAP_MSK_LEN); in eap_psk_getKey() 471 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk() 497 id = os_malloc(*len); in eap_psk_get_session_id()
|
D | eap_server_identity.c | 123 buf = os_malloc(len * 4 + 1); in eap_identity_process() 132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process()
|
D | eap_server_pwd.c | 107 data->password = os_malloc(sm->user->password_len); in eap_pwd_init() 257 if (((scalar = os_malloc(BN_num_bytes(data->grp->order))) == NULL) || in eap_pwd_build_commit_req() 258 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == in eap_pwd_build_commit_req() 318 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) || in eap_pwd_build_confirm_req() 605 data->id_peer = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_process_id_resp() 806 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) || in eap_pwd_process_confirm_resp() 1031 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey() 1050 key = os_malloc(EAP_EMSK_LEN); in eap_pwd_get_emsk() 1083 id = os_malloc(1 + SHA256_MAC_LEN); in eap_pwd_get_session_id()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_write.c | 65 hello = os_malloc(len); in tls_send_client_hello() 215 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 245 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh() 284 shared = os_malloc(shared_len); in tlsv1_key_x_dh() 737 msg = os_malloc(msglen); in tls_send_client_key_exchange() 775 msg = os_malloc(1000); in tls_send_change_cipher_spec() 813 return os_malloc(1); in tlsv1_client_handshake_write() 832 alert = os_malloc(10); in tlsv1_client_send_alert()
|
D | tlsv1_server_write.c | 282 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange() 316 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange() 812 msg = os_malloc(msglen); in tls_send_server_hello() 863 msg = os_malloc(1000); in tls_send_change_cipher_spec() 912 alert = os_malloc(10); in tlsv1_server_send_alert()
|
/external/wpa_supplicant_8/hs20/client/ |
D | est.c | 104 buf = os_malloc(buflen); in est_load_cacerts() 144 pkcs7 = os_malloc(resp_len); in est_load_cacerts() 459 txt = os_malloc(rlen + 1); in generate_csr() 551 buf = os_malloc(buflen); in est_build_csr() 642 buf = os_malloc(buflen); in est_simple_enroll() 685 pkcs7 = os_malloc(resp_len); in est_simple_enroll()
|
/external/wpa_supplicant_8/src/crypto/ |
D | aes-eax.c | 46 buf = os_malloc(buf_len); in aes_128_eax_encrypt() 110 buf = os_malloc(buf_len); in aes_128_eax_decrypt()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 112 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups() 204 conf->basic_rates = os_malloc(sizeof(basic_rates_erp)); in wpa_supplicant_mesh_init() 251 os_malloc(sizeof(default_groups)); in wpa_supplicant_mesh_init() 404 mesh_id = os_malloc(elems.mesh_id_len + 1); in mesh_attr_text() 434 bss_basic_rate_set = os_malloc(elems.supp_rates_len + in mesh_attr_text()
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_memory.h | 49 os_malloc(size_t size);
|
D | os_memory_aligned.h | 50 ptr = (char *) os_malloc(size + alignment + sizeof(void *)); in os_malloc_aligned()
|
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
D | test_wpa.c | 79 wpa->supp_eapol = os_malloc(len); in supp_ether_send() 99 hdr = os_malloc(*msg_len); in supp_alloc_eapol() 241 wpa->auth_eapol = os_malloc(data_len); in auth_send_eapol()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 123 buf = os_malloc(reply_len); in wpa_driver_privsep_get_scan_results2() 171 r = os_malloc(len); in wpa_driver_privsep_get_scan_results2() 441 buf = os_malloc(buflen); in wpa_driver_privsep_receive() 608 drv->own_socket_path = os_malloc(len); in wpa_driver_privsep_set_param() 618 drv->own_cmd_path = os_malloc(len); in wpa_driver_privsep_set_param()
|