| /optee_os/lib/libutils/isoc/ |
| H A D | strdup.c | 11 char *p = malloc(l); in strdup()
|
| H A D | strndup.c | 11 char *p = malloc(l); in strndup()
|
| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | rsassa.c | 186 EM.data = malloc(EM.length); in rsassa_pkcs1_v1_5_sign() 248 EM.data = malloc(EM.length); in rsassa_pkcs1_v1_5_verify() 256 EM_gen.data = malloc(EM.length); in rsassa_pkcs1_v1_5_verify() 363 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_encode() 368 salt = malloc(ssa_data->salt_len); in emsa_pss_encode() 554 msg_db = malloc(MAX(db_size, msg_size)); in emsa_pss_verify() 662 salt = malloc(ssa_data->salt_len); in emsa_pss_verify() 756 EM.data = malloc(EM.length); in rsassa_pss_sign() 831 EM.data = malloc(EM.length); in rsassa_pss_verify()
|
| H A D | dh.c | 75 secret_buf = malloc(sdata.secret.length); in crypto_acipher_dh_shared_secret()
|
| /optee_os/lib/libutils/isoc/include/ |
| H A D | malloc.h | 22 void *malloc(size_t size); 40 #define malloc(size) __mdbg_alloc(MAF_NULL, NULL, 1, 1, \ macro 132 #define nex_malloc(size) malloc(size)
|
| /optee_os/core/pta/tests/ |
| H A D | misc.c | 326 p1 = malloc(1024); in self_test_malloc() 328 p2 = malloc(1024); in self_test_malloc() 348 p2 = malloc(1024); in self_test_malloc() 386 p1 = malloc(1024); in self_test_malloc() 771 ctx->pmalloc1 = malloc(ASAN_TEST_BUF_SIZE); in asan_malloc() 785 ctx->pmalloc2[i] = malloc(aligned_size); in asan_malloc2() 795 char *a = malloc(ASAN_TEST_BUF_SIZE); in asan_use_after_free()
|
| H A D | fs_htree.c | 421 aux->data = malloc(aux->data_alloced); in aux_alloc() 425 aux->block = malloc(TEST_BLOCK_SIZE); in aux_alloc() 484 aux2.data = malloc(aux->data_alloced); in test_corrupt_type()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | dh.c | 73 buf = malloc(len); in crypto_acipher_gen_dh_key() 119 buf = malloc(len); in crypto_acipher_dh_shared_secret()
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | caam_pwr.c | 30 newelem = malloc(sizeof(*newelem)); in caam_pwr_add_backup() 41 newelem->val = malloc(nbregs * sizeof(*newelem->val)); in caam_pwr_add_backup()
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | hmac.c | 52 c->key = malloc(len); in do_hmac_init() 146 dst->key = malloc(dst->key_len); in do_hmac_copy_state()
|
| /optee_os/core/tee/ |
| H A D | tee_pobj.c | 133 o->obj_id = malloc(obj_id_len); in tee_pobj_get() 193 new_obj_id = malloc(obj_id_len); in tee_pobj_rename()
|
| H A D | tee_svc.c | 41 kbuf = malloc(sz); in syscall_log() 559 kname = malloc(name_len); in syscall_get_property_name_to_index() 788 TEE_UUID *uuid = malloc(sizeof(TEE_UUID)); in syscall_open_ta_session() 789 struct tee_ta_param *param = malloc(sizeof(struct tee_ta_param)); in syscall_open_ta_session() 790 TEE_Identity *clnt_id = malloc(sizeof(TEE_Identity)); in syscall_open_ta_session()
|
| /optee_os/core/drivers/nvmem/ |
| H A D | nvmem.c | 57 *out_data = malloc(cell->len); in nvmem_cell_malloc_and_read()
|
| /optee_os/core/lib/zlib/ |
| H A D | zutil.c | 301 extern voidp malloc OF((uInt size)); 312 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
|
| H A D | gzguts.h | 123 extern voidp malloc OF((uInt size));
|
| /optee_os/core/drivers/ |
| H A D | bcm_gpio.c | 194 gc = malloc(sizeof(*gc)); in bcm_gpio_init() 201 gc = malloc(sizeof(*gc)); in bcm_gpio_init()
|
| /optee_os/core/kernel/ |
| H A D | msg_param.c | 132 pages = malloc(msize); in msg_param_mobj_from_noncontig()
|
| H A D | lockdep.c | 56 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()
|
| H A D | ree_fs_ta.c | 393 bs_hdr = malloc(sizeof(*bs_hdr)); in ree_fs_ta_open() 451 ehdr = malloc(ehdr_sz); in ree_fs_ta_open() 536 digest = malloc(h->shdr->hash_size); in check_digest() 720 handle->tag = malloc(handle->tag_len); in buf_ta_open()
|
| /optee_os/lib/libdl/ |
| H A D | dlfcn.c | 46 h = malloc(sizeof(*h)); in dlopen()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_custom.h | 9 #define XMALLOC malloc 57 #if ( defined(malloc) || defined(realloc) || defined(calloc) || defined(free) || \
|
| /optee_os/lib/libutee/ |
| H A D | user_ta_entry.c | 62 qe = malloc(sizeof(*qe)); in _init_iterate_phdr_cb() 182 __ta_no_share_malloc_ctx = malloc(raw_malloc_get_ctx_size()); in init_instance()
|
| /optee_os/core/pta/ |
| H A D | secstor_ta_mgmt.c | 61 buf = malloc(buf_size); in install_ta()
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | sbi_mpxy_rpmi.c | 109 channel->notif = malloc(mpxy_shmem_size); in sbi_mpxy_rpmi_probe_channels()
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hpre_rsa.c | 356 rsa_enc_info.message.data = malloc(n_bytes); in rsa_pkcs_encrypt() 482 rsa_enc_info.message.data = malloc(n_bytes); in rsa_oaep_encrypt() 816 rsa_dec_info.message.data = malloc(n_bytes); in rsa_pkcs_decrypt() 952 rsa_dec_info.message.data = malloc(n_bytes); in rsa_oaep_decrypt()
|