Home
last modified time | relevance | path

Searched refs:os_malloc (Results 1 – 25 of 197) sorted by relevance

12345678

/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c403 sign_data = os_malloc(sign_len); in ikev2_derive_auth_data()
495 decrypted = os_malloc(decrypted_len); in ikev2_decrypt_payload()
650 keybuf = os_malloc(keybuf_len); in ikev2_derive_sk_keys()
662 keys->SK_d = os_malloc(keys->SK_d_len); in ikev2_derive_sk_keys()
670 keys->SK_ai = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
678 keys->SK_ar = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
686 keys->SK_ei = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
694 keys->SK_er = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
702 keys->SK_pi = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
710 keys->SK_pr = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
Deap_gpsk_common.c141 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper()
299 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_keys()
372 data = os_malloc(data_len); in eap_gpsk_derive_mid_helper()
443 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/utils/
Dos_internal.c157 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()
Dwpa_debug.c293 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
328 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump()
649 buf = os_malloc(buflen); in wpa_msg()
689 buf = os_malloc(buflen); in wpa_msg_ctrl()
714 buf = os_malloc(buflen); in wpa_msg_global()
744 buf = os_malloc(buflen); in wpa_msg_global_ctrl()
769 buf = os_malloc(buflen); in wpa_msg_no_global()
796 buf = os_malloc(buflen); in wpa_msg_global_only()
835 buf = os_malloc(buflen); in hostapd_logger()
Dos_unix.c301 buf = os_malloc(len); in os_rel2abs_path()
322 ret = os_malloc(ret_len); in os_rel2abs_path()
455 buf = os_malloc(*len); in os_readfile()
547 void *r = os_malloc(len); in os_memdup()
723 void * os_malloc(size_t size) in os_malloc() function
748 return os_malloc(size); in os_realloc()
758 n = os_malloc(size); in os_realloc()
794 void *ptr = os_malloc(size); in os_zalloc()
806 d = os_malloc(len + 1); in os_strdup()
Dos.h310 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
Dbase64.c39 out = os_malloc(olen); in base64_gen_encode()
111 pos = out = os_malloc(olen); in base64_gen_decode()
Dcommon.c454 buf = os_malloc((strlen(str) + 1) * sizeof(TCHAR)); in wpa_strdup_tchar()
658 str = os_malloc(tlen + 1); in wpa_config_parse_string()
674 str = os_malloc(tlen + 1); in wpa_config_parse_string()
761 res = os_malloc(len + 1); in dup_binstr()
840 buf = os_malloc(maxlen); in freq_range_list_str()
1245 val = os_malloc(len + 1); in get_param()
/external/u-boot/arch/sandbox/cpu/
Dstate.c30 buf = os_malloc(size); in state_ensure_space()
56 state->state_fdt = os_malloc(size); in state_read_file()
245 state->state_fdt = os_malloc(size); in sandbox_write_state()
369 state->ram_buf = os_malloc(state->ram_size); in state_init()
Dos.c143 void *os_malloc(size_t length) in os_malloc() function
172 buf = os_malloc(length); in os_realloc()
231 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()
232 long_opts = os_malloc(sizeof(*long_opts) * num_options); in os_parse_args()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_write.c88 hello = os_malloc(len); in tls_send_client_hello()
355 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh()
385 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
431 shared = os_malloc(shared_len); in tlsv1_key_x_dh()
884 msg = os_malloc(msglen); in tls_send_client_key_exchange()
922 msg = os_malloc(1000); in tls_send_change_cipher_spec()
962 return os_malloc(1); in tlsv1_client_handshake_write()
981 alert = os_malloc(10); in tlsv1_client_send_alert()
Dpkcs5.c435 D = os_malloc(v); in pkcs12_key_gen()
443 I = os_malloc(S_len + P_len); in pkcs12_key_gen()
456 B = os_malloc(v); in pkcs12_key_gen()
523 pw = os_malloc(2 * (pw_len + 1)); in pkcs12_crypto_init_sha1()
616 eb = os_malloc(enc_data_len); in pkcs5_decrypt()
/external/wpa_supplicant_8/src/crypto/
Daes-eax.c46 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/hs20/client/
Dest.c130 buf = os_malloc(buflen); in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
518 txt = os_malloc(rlen + 1); in generate_csr()
612 buf = os_malloc(buflen); in est_build_csr()
702 buf = os_malloc(buflen); in est_simple_enroll()
740 pkcs7 = os_malloc(resp_len); in est_simple_enroll()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_identity.c123 buf = os_malloc(len * 4 + 1); in eap_identity_process()
132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process()
Deap_server_tls_common.c115 out = os_malloc(len); in eap_server_tls_derive_key()
157 id = os_malloc(*len); in eap_server_tls_derive_session_id()
179 out = os_malloc(*len); in eap_server_tls_derive_session_id()
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c59 data->id_p = os_malloc(identity_len); in eap_psk_init()
147 buf = os_malloc(buflen); in eap_psk_process_1()
229 buf = os_malloc(buflen); in eap_psk_process_3()
445 id = os_malloc(*len); in eap_psk_get_session_id()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c435 buf = os_malloc(buflen); in srv_log()
752 sess->username = os_malloc(user_len * 4 + 1); in radius_server_get_new_session()
841 id_str = os_malloc(id_len + 1); in radius_srv_hs20_t_c_pending()
910 id_str = os_malloc(id_len); in db_update_last_msk()
918 id_str = os_malloc(id_len + 1); in db_update_last_msk()
1146 buf = os_malloc(1 + url_len); in radius_server_encapsulate_eap()
1189 buf = os_malloc(1 + url_len + 1); in radius_server_encapsulate_eap()
1238 url2 = os_malloc(url_len + 1); in radius_server_encapsulate_eap()
1824 buf = os_malloc(RADIUS_MAX_MSG_LEN); in radius_server_receive_auth()
1956 buf = os_malloc(RADIUS_MAX_MSG_LEN); in radius_server_receive_acct()
[all …]
/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory.h49 os_malloc(size_t size);
Dos_memory_stdc.h43 #define os_malloc(_size) malloc(_size) macro
Dos_memory_aligned.h76 ptr = (char *) os_malloc(alloc_size); in os_malloc_aligned()
/external/virglrenderer/src/gallium/auxiliary/os/
Dos_memory.h49 os_malloc(size_t size);
Dos_memory_aligned.h50 ptr = (char *) os_malloc(size + alignment + sizeof(void *)); in os_malloc_aligned()
Dos_memory_stdc.h43 #define os_malloc(_size) malloc(_size) macro
/external/wpa_supplicant_8/tests/
Dtest-eapol.c87 msg = os_malloc(msg_len); in read_msg()
180 wpa->supp_eapol = os_malloc(len); in supp_ether_send()
200 hdr = os_malloc(*msg_len); in supp_alloc_eapol()
386 wpa->auth_eapol = os_malloc(data_len); in auth_send_eapol()

12345678