Home
last modified time | relevance | path

Searched refs:TEE_MALLOC_FILL_ZERO (Results 1 – 17 of 17) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dprocessing_aes.c73 out_data = TEE_Malloc(sizeof(*out_data), TEE_MALLOC_FILL_ZERO); in init_ae_aes_context()
74 pending_tag = TEE_Malloc(ctx->tag_byte_len, TEE_MALLOC_FILL_ZERO); in init_ae_aes_context()
171 ct = TEE_Malloc(ct_size, TEE_MALLOC_FILL_ZERO); in tee_ae_decrypt_update()
326 data_ptr = TEE_Malloc(data_size, TEE_MALLOC_FILL_ZERO); in tee_ae_decrypt_final()
505 params = TEE_Malloc(sizeof(*params), TEE_MALLOC_FILL_ZERO); in tee_init_gcm_operation()
H A Dpersistent_token.c180 acl_string = TEE_Malloc(pin_size + 1, TEE_MALLOC_FILL_ZERO); in setup_identity_auth_from_pin()
498 attr = TEE_Malloc(info.dataSize, TEE_MALLOC_FILL_ZERO); in load_persistent_object_attributes()
595 db_main = TEE_Malloc(sizeof(*db_main), TEE_MALLOC_FILL_ZERO); in init_persistent_db()
596 db_objs = TEE_Malloc(sizeof(*db_objs), TEE_MALLOC_FILL_ZERO); in init_persistent_db()
679 TEE_MALLOC_FILL_ZERO); in init_persistent_db()
H A Dattributes.c23 *head = TEE_Malloc(sizeof(**head), TEE_MALLOC_FILL_ZERO); in init_attributes_head()
339 prefix2 = TEE_Malloc(prefix_len + 1 + 4, TEE_MALLOC_FILL_ZERO); in __trace_attributes()
439 pre = TEE_Malloc(prefix ? strlen(prefix) + 2 : 2, TEE_MALLOC_FILL_ZERO); in trace_attributes()
H A Dsanitize_object.c324 prefix2 = TEE_Malloc(prefix_len + 1 + 4, TEE_MALLOC_FILL_ZERO); in __trace_attributes()
410 pre = TEE_Malloc(prefix ? strlen(prefix) + 2 : 2, TEE_MALLOC_FILL_ZERO); in trace_attributes_from_api_head()
H A Dserializer.c60 ptr = TEE_Malloc(sz, TEE_MALLOC_FILL_ZERO); in alloc_and_get()
H A Dprocessing_symm.c448 param = TEE_Malloc(sizeof(struct input_data_ref), TEE_MALLOC_FILL_ZERO); in tee_init_derive_symm()
577 TEE_MALLOC_FILL_ZERO); in init_tee_operation()
1172 TEE_MALLOC_FILL_ZERO); in wrap_data_by_symm_enc()
1225 *out_buf = TEE_Malloc(*out_sz, TEE_MALLOC_FILL_ZERO); in unwrap_key_by_symm()
H A Dobject.c177 obj = TEE_Malloc(sizeof(struct pkcs11_object), TEE_MALLOC_FILL_ZERO); in create_obj_instance()
550 find_ctx = TEE_Malloc(sizeof(*find_ctx), TEE_MALLOC_FILL_ZERO); in entry_find_objects_init()
1068 head_new = TEE_Malloc(template_size, TEE_MALLOC_FILL_ZERO); in entry_set_attribute_value()
1236 head_new = TEE_Malloc(template_size, TEE_MALLOC_FILL_ZERO); in entry_copy_object()
H A Dpkcs11_token.c114 client = TEE_Malloc(sizeof(*client), TEE_MALLOC_FILL_ZERO); in register_client()
224 proc = TEE_Malloc(sizeof(*proc), TEE_MALLOC_FILL_ZERO); in set_processing_state()
655 session = TEE_Malloc(sizeof(*session), TEE_MALLOC_FILL_ZERO); in entry_ck_open_session()
1649 buffer = TEE_Malloc(buffer_size, TEE_MALLOC_FILL_ZERO); in entry_ck_generate_random()
H A Dprocessing_ec.c533 ecpoint = TEE_Malloc(dersize, TEE_MALLOC_FILL_ZERO); in tee2pkcs_ec_attributes()
H A Dpkcs11_attributes.c1043 buf = TEE_Malloc(buflen, TEE_MALLOC_FILL_ZERO); in create_ec_priv_key_hidden_attributes()
1052 asnbuf = TEE_Malloc(asnbuflen, TEE_MALLOC_FILL_ZERO); in create_ec_priv_key_hidden_attributes()
2878 buf = TEE_Malloc(buf_size, TEE_MALLOC_FILL_ZERO); in compute_check_value_with_sha1()
H A Dprocessing_asymm.c1197 *out_buf = TEE_Malloc(target_key_size, TEE_MALLOC_FILL_ZERO); in unwrap_rsa_aes_key()
/optee_os/lib/libutee/
H A Dtee_tcpudp_socket.c32 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()
H A Dtee_api.c707 case TEE_MALLOC_FILL_ZERO: in TEE_Malloc()
H A Dtee_api_operations.c313 op = TEE_Malloc(sizeof(*op), TEE_MALLOC_FILL_ZERO); in TEE_AllocateOperation()
/optee_os/ta/remoteproc/src/
H A Dremoteproc_core.c286 ctx = TEE_Malloc(sizeof(*ctx), TEE_MALLOC_FILL_ZERO); in remoteproc_add_firmware()
330 keyinfo = TEE_Malloc(sizeof(*keyinfo) + length, TEE_MALLOC_FILL_ZERO); in remoteproc_pta_verify()
379 ctx->sec_cpy = TEE_Malloc(length, TEE_MALLOC_FILL_ZERO); in remoteproc_save_fw_header_and_tlvs()
414 hash = TEE_Malloc(hash_len, TEE_MALLOC_FILL_ZERO); in remoteproc_verify_signature()
627 hash_table = TEE_Malloc(length, TEE_MALLOC_FILL_ZERO); in get_hash_table()
/optee_os/lib/libutee/include/
H A Dtee_api_defines.h169 #define TEE_MALLOC_FILL_ZERO 0x00000000 macro
/optee_os/ta/trusted_keys/
H A Dentry.c47 rng_buf = TEE_Malloc(params[0].memref.size, TEE_MALLOC_FILL_ZERO); in get_random()