/optee_os-3.20.0/ta/pkcs11/src/ |
A D | persistent_token.c | 180 acl_string = TEE_Malloc(pin_size + 1, TEE_MALLOC_FILL_ZERO); in setup_identity_auth_from_pin() 314 obj->uuid = TEE_Malloc(sizeof(TEE_UUID), in create_object_uuid() 371 ptr = TEE_Malloc(sizeof(struct token_persistent_objs) + in unregister_persistent_object() 498 attr = TEE_Malloc(info.dataSize, TEE_MALLOC_FILL_ZERO); in load_persistent_object_attributes() 593 db_main = TEE_Malloc(sizeof(*db_main), TEE_MALLOC_FILL_ZERO); in init_persistent_db() 594 db_objs = TEE_Malloc(sizeof(*db_objs), TEE_MALLOC_FILL_ZERO); in init_persistent_db() 635 uuid = TEE_Malloc(sizeof(TEE_UUID), in init_persistent_db()
|
A D | processing_ec.c | 352 attrs = TEE_Malloc(3 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs() 377 attrs = TEE_Malloc(4 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs() 518 ecpoint = TEE_Malloc(dersize, TEE_MALLOC_FILL_ZERO); in tee2pkcs_ec_attributes() 657 attrs = TEE_Malloc(sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs() 673 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs() 814 proc->extra_ctx = TEE_Malloc(sizeof(*ctx) + ctx_len, in pkcs2tee_proc_params_eddsa()
|
A D | processing_rsa.c | 45 proc->extra_ctx = TEE_Malloc(sizeof(struct rsa_pss_processing_ctx), in pkcs2tee_proc_params_rsa_pss() 237 proc->extra_ctx = TEE_Malloc(sizeof(struct rsa_oaep_processing_ctx) + in pkcs2tee_proc_params_rsa_oaep() 298 TEE_Malloc(sizeof(struct rsa_aes_key_wrap_processing_ctx) + in pkcs2tee_proc_params_rsa_aes_wrap() 520 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_rsa_key_attrs() 540 attrs = TEE_Malloc(8 * sizeof(TEE_Attribute), in load_tee_rsa_key_attrs()
|
A D | processing_asymm.c | 512 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation() 529 tee_attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in step_asymm_operation() 555 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation() 574 tee_attrs = TEE_Malloc(sizeof(TEE_Attribute), in step_asymm_operation() 655 hash_buf = TEE_Malloc(hash_size, 0); in step_asymm_operation() 1040 *out_buf = TEE_Malloc(target_key_size, TEE_MALLOC_FILL_ZERO); in unwrap_rsa_aes_key()
|
A D | processing_symm.c | 285 hash_ptr = TEE_Malloc(hash_size, 0); in hash_secret_helper() 431 param = TEE_Malloc(sizeof(struct input_data_ref), TEE_MALLOC_FILL_ZERO); in tee_init_derive_symm() 559 pkcs11_data = TEE_Malloc(sizeof(uint32_t), in init_tee_operation() 1009 dest_buf = TEE_Malloc(*out_size, 0); in derive_key_by_symm_enc() 1070 in_buf = TEE_Malloc(TEE_AES_BLOCK_SIZE, in wrap_data_by_symm_enc() 1122 *out_buf = TEE_Malloc(*out_sz, TEE_MALLOC_FILL_ZERO); in unwrap_key_by_symm()
|
A D | attributes.c | 24 *head = TEE_Malloc(sizeof(**head), TEE_MALLOC_FILL_ZERO); in init_attributes_head() 336 prefix2 = TEE_Malloc(prefix_len + 1 + 4, TEE_MALLOC_FILL_ZERO); in __trace_attributes() 436 pre = TEE_Malloc(prefix ? strlen(prefix) + 2 : 2, TEE_MALLOC_FILL_ZERO); in trace_attributes()
|
A D | sanitize_object.c | 325 prefix2 = TEE_Malloc(prefix_len + 1 + 4, TEE_MALLOC_FILL_ZERO); in __trace_attributes() 411 pre = TEE_Malloc(prefix ? strlen(prefix) + 2 : 2, TEE_MALLOC_FILL_ZERO); in trace_attributes_from_api_head()
|
A D | serializer.c | 60 ptr = TEE_Malloc(sz, TEE_MALLOC_FILL_ZERO); in alloc_and_get()
|
A D | object.c | 175 obj = TEE_Malloc(sizeof(struct pkcs11_object), TEE_MALLOC_FILL_ZERO); in create_obj_instance() 543 find_ctx = TEE_Malloc(sizeof(*find_ctx), TEE_MALLOC_FILL_ZERO); in entry_find_objects_init() 1192 head_new = TEE_Malloc(template_size, TEE_MALLOC_FILL_ZERO); in entry_copy_object()
|
A D | pkcs11_token.c | 102 client = TEE_Malloc(sizeof(*client), TEE_MALLOC_FILL_ZERO); in register_client() 212 proc = TEE_Malloc(sizeof(*proc), TEE_MALLOC_FILL_ZERO); in set_processing_state() 643 session = TEE_Malloc(sizeof(*session), TEE_MALLOC_FILL_ZERO); in entry_ck_open_session() 1593 buffer = TEE_Malloc(buffer_size, TEE_MALLOC_FILL_ZERO); in entry_ck_generate_random()
|
A D | token_capabilities.c | 309 array = TEE_Malloc(count * sizeof(*array), in tee_malloc_mechanism_list()
|
A D | processing.c | 191 value = TEE_Malloc(value_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in generate_random_key_value() 348 ptr = TEE_Malloc(sz, TEE_USER_MEM_HINT_NO_FILL_ZERO); in alloc_get_tee_attribute_data()
|
A D | pkcs11_attributes.c | 2288 buffer = TEE_Malloc(buffer_size, TEE_USER_MEM_HINT_NO_FILL_ZERO); in set_private_key_data_rsa() 2405 buffer = TEE_Malloc(*sz, TEE_USER_MEM_HINT_NO_FILL_ZERO); in alloc_copy_attribute_value() 2484 buffer = TEE_Malloc(der_size, TEE_USER_MEM_HINT_NO_FILL_ZERO); in encode_rsa_private_key_der()
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_tcpudp_socket.c | 32 sock_ctx = TEE_Malloc(sizeof(*sock_ctx), TEE_MALLOC_FILL_ZERO); in tcp_open() 71 sock_ctx = TEE_Malloc(sizeof(*sock_ctx), TEE_MALLOC_FILL_ZERO); in udp_open()
|
A D | tee_api_property.c | 210 tmp_buf = TEE_Malloc(tmp_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in TEE_GetPropertyAsString() 427 pe = TEE_Malloc(sizeof(struct prop_enumerator), in TEE_AllocatePropertyEnumerator()
|
A D | tee_api.c | 399 void *TEE_Malloc(uint32_t len, uint32_t hint) in TEE_Malloc() function
|
A D | tee_api_operations.c | 280 op = TEE_Malloc(sizeof(*op), TEE_MALLOC_FILL_ZERO); in TEE_AllocateOperation() 302 op->buffer = TEE_Malloc(buffer_size, in TEE_AllocateOperation()
|
/optee_os-3.20.0/ta/avb/ |
A D | entry.c | 273 value = TEE_Malloc(value_sz, 0); in write_persist_value() 323 value = TEE_Malloc(value_sz, 0); in read_persist_value()
|
/optee_os-3.20.0/ta/trusted_keys/ |
A D | entry.c | 47 rng_buf = TEE_Malloc(params[0].memref.size, TEE_MALLOC_FILL_ZERO); in get_random()
|
/optee_os-3.20.0/lib/libutee/arch/arm/ |
A D | user_ta_entry.c | 221 itr = TEE_Malloc(sizeof(struct ta_session), in ta_header_add_session()
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | tee_internal_api.h | 94 void *TEE_Malloc(uint32_t size, uint32_t hint);
|