Home
last modified time | relevance | path

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

12345678

/external/wpa_supplicant_8/src/utils/
Dos_internal.c163 buf = os_malloc(len); in os_rel2abs_path()
181 ret = os_malloc(ret_len); in os_rel2abs_path()
234 buf = os_malloc(*len); in os_readfile()
260 void *n = os_malloc(size); in os_zalloc()
267 void * os_malloc(size_t size) in os_malloc() function
345 res = os_malloc(len + 1); in os_strdup()
Dos_unix.c307 buf = os_malloc(len); in os_rel2abs_path()
328 ret = os_malloc(ret_len); in os_rel2abs_path()
466 buf = os_malloc(*len); in os_readfile()
558 void *r = os_malloc(len); in os_memdup()
734 void * os_malloc(size_t size) in os_malloc() function
759 return os_malloc(size); in os_realloc()
769 n = os_malloc(size); in os_realloc()
805 void *ptr = os_malloc(size); in os_zalloc()
817 d = os_malloc(len + 1); in os_strdup()
Dwpa_debug.c296 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
331 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump()
651 buf = os_malloc(buflen); in wpa_msg()
691 buf = os_malloc(buflen); in wpa_msg_ctrl()
716 buf = os_malloc(buflen); in wpa_msg_global()
746 buf = os_malloc(buflen); in wpa_msg_global_ctrl()
771 buf = os_malloc(buflen); in wpa_msg_no_global()
798 buf = os_malloc(buflen); in wpa_msg_global_only()
837 buf = os_malloc(buflen); in hostapd_logger()
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.c42 out = os_malloc(olen); in base64_gen_encode()
113 pos = out = os_malloc(olen); in base64_gen_decode()
Dcommon.c465 buf = os_malloc((strlen(str) + 1) * sizeof(TCHAR)); in wpa_strdup_tchar()
669 str = os_malloc(tlen + 1); in wpa_config_parse_string()
685 str = os_malloc(tlen + 1); in wpa_config_parse_string()
772 res = os_malloc(len + 1); in dup_binstr()
855 buf = os_malloc(maxlen); in freq_range_list_str()
1279 val = os_malloc(len + 1); in get_param()
/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/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()
Dtlsv1_server_write.c408 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange()
442 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange()
956 msg = os_malloc(msglen); in tls_send_server_hello()
1016 msg = os_malloc(1000); in tls_send_change_cipher_spec()
1065 alert = os_malloc(10); in tlsv1_server_send_alert()
/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()
Dcrypto_nettle.c60 ctx = os_malloc(alg->context_size); in nettle_digest_vector()
251 ctx = os_malloc(sizeof(*ctx)); in aes_encrypt_init()
282 ctx = os_malloc(sizeof(*ctx)); in aes_decrypt_init()
/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()
701 buf = os_malloc(buflen); in est_simple_enroll()
739 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()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c202 reply = os_malloc(7 + 2 * COOKIE_LEN + 1);
238 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1);
546 sbuf = os_malloc(llen + len);
604 reply = os_malloc(7 + 2 * COOKIE_LEN + 1);
639 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1);
/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/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
Dos_memory_debug.h80 #define os_malloc( _size ) \ macro
/external/mesa3d/src/util/
Dos_memory.h44 os_malloc(size_t size);
Dos_memory_stdc.h41 #define os_malloc(_size) malloc(_size) macro
Dos_memory_debug.h83 #define os_malloc( _size ) \ macro
/external/virglrenderer/src/gallium/auxiliary/util/
Du_memory.h48 #define MALLOC(_size) os_malloc(_size)

12345678