Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 50) sorted by relevance

12

/optee_os-3.20.0/lib/libutils/isoc/
A Dstrdup.c11 char *p = malloc(l); in strdup()
A Dstrndup.c11 char *p = malloc(l); in strndup()
/optee_os-3.20.0/lib/libutils/isoc/include/
A Dmalloc.h17 void *malloc(size_t size);
42 #define malloc(size) mdbg_malloc(__FILE__, __LINE__, (size)) macro
152 #define nex_malloc(size) malloc(size)
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsassa.c186 EM.data = malloc(EM.length); in rsassa_pkcs1_v1_5_sign()
248 EM.data = malloc(EM.length); in rsassa_pkcs1_v1_5_verify()
251 EM_gen.data = malloc(EM.length); in rsassa_pkcs1_v1_5_verify()
358 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_encode()
363 salt = malloc(ssa_data->salt_len); in emsa_pss_encode()
549 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_verify()
657 salt = malloc(ssa_data->salt_len); in emsa_pss_verify()
751 EM.data = malloc(EM.length); in rsassa_pss_sign()
826 EM.data = malloc(EM.length); in rsassa_pss_verify()
A Ddh.c75 secret_buf = malloc(sdata.secret.length); in crypto_acipher_dh_shared_secret()
A Drsamgf.c32 tmpdigest = malloc(mgf_data->digest_size); in drvcrypt_rsa_mgf1()
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_pwr.c27 newelem = malloc(sizeof(*newelem)); in caam_pwr_add_backup()
38 newelem->val = malloc(nbregs * sizeof(*newelem->val)); in caam_pwr_add_backup()
/optee_os-3.20.0/lib/libmbedtls/core/
A Ddh.c72 buf = malloc(dhm.len); in crypto_acipher_gen_dh_key()
117 buf = malloc(dhm.len); in crypto_acipher_dh_shared_secret()
/optee_os-3.20.0/core/tee/
A Dtee_pobj.c114 o->obj_id = malloc(obj_id_len); in tee_pobj_get()
174 new_obj_id = malloc(obj_id_len); in tee_pobj_rename()
A Dtee_svc.c41 kbuf = malloc(sz); in syscall_log()
542 kname = malloc(name_len); in syscall_get_property_name_to_index()
860 TEE_UUID *uuid = malloc(sizeof(TEE_UUID)); in syscall_open_ta_session()
861 struct tee_ta_param *param = malloc(sizeof(struct tee_ta_param)); in syscall_open_ta_session()
862 TEE_Identity *clnt_id = malloc(sizeof(TEE_Identity)); in syscall_open_ta_session()
/optee_os-3.20.0/core/drivers/tpm2/
A Dtpm2_cmd.c165 resp_buf = malloc(resp_len); in tpm2_get_capability()
283 resp_buf = malloc(resp_len); in tpm2_pcr_read()
383 buf = malloc(buf_len); in tpm2_pcr_extend()
387 resp_buf = malloc(resp_len); in tpm2_pcr_extend()
A Dtpm2_chip.c68 prop = malloc(prop_len); in tpm2_get_tpm_property()
104 pcr_cap = malloc(pcr_cap_len); in tpm2_get_bank_info()
/optee_os-3.20.0/core/lib/zlib/
A Dzutil.c301 extern voidp malloc OF((uInt size));
312 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
A Dgzguts.h123 extern voidp malloc OF((uInt size));
/optee_os-3.20.0/core/drivers/
A Dbcm_gpio.c194 gc = malloc(sizeof(*gc)); in bcm_gpio_init()
201 gc = malloc(sizeof(*gc)); in bcm_gpio_init()
/optee_os-3.20.0/core/kernel/
A Dmsg_param.c132 pages = malloc(msize); in msg_param_mobj_from_noncontig()
A Dree_fs_ta.c385 bs_hdr = malloc(sizeof(*bs_hdr)); in ree_fs_ta_open()
443 ehdr = malloc(ehdr_sz); in ree_fs_ta_open()
528 digest = malloc(h->shdr->hash_size); in check_digest()
568 uint8_t *b = malloc(b_size); in ree_fs_ta_read()
704 handle->tag = malloc(handle->tag_len); in buf_ta_open()
A Dlockdep.c56 nstack = malloc((n + 1) * sizeof(vaddr_t)); in dup_call_stack()
141 qe->path = malloc(sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle()
190 nqe->path = malloc(nlen * sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle()
A Dtcg.c329 buffer = malloc(TPM2_EVENT_LOG_SIZE); in tcg_process_fw_eventlog()
358 digest_list = malloc(digest_list_sz); in tcg_process_fw_eventlog()
A Dembedded_ts.c157 tmpbuf = malloc(strm->avail_out); in read_compressed()
/optee_os-3.20.0/core/pta/tests/
A Dmisc.c321 p1 = malloc(1024); in self_test_malloc()
323 p2 = malloc(1024); in self_test_malloc()
343 p2 = malloc(1024); in self_test_malloc()
381 p1 = malloc(1024); in self_test_malloc()
A Dfs_htree.c418 aux->data = malloc(aux->data_alloced); in aux_alloc()
422 aux->block = malloc(TEST_BLOCK_SIZE); in aux_alloc()
481 aux2.data = malloc(aux->data_alloced); in test_corrupt_type()
/optee_os-3.20.0/lib/libdl/
A Ddlfcn.c46 h = malloc(sizeof(*h)); in dlopen()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_custom.h9 #define XMALLOC malloc
57 #if ( defined(malloc) || defined(realloc) || defined(calloc) || defined(free) || \
/optee_os-3.20.0/core/pta/
A Dsecstor_ta_mgmt.c61 buf = malloc(buf_size); in install_ta()

Completed in 32 milliseconds

12