Lines Matching refs:TEE_UUID
293 static int get_persistent_obj_idx(struct ck_token *token, TEE_UUID *uuid) in get_persistent_obj_idx()
302 uuid, sizeof(TEE_UUID))) in get_persistent_obj_idx()
314 obj->uuid = TEE_Malloc(sizeof(TEE_UUID), in create_object_uuid()
322 TEE_GenerateRandom(obj->uuid, sizeof(TEE_UUID)); in create_object_uuid()
338 TEE_UUID *array, size_t *size) in get_persistent_objects_list()
342 *size = token->db_objs->count * sizeof(TEE_UUID); in get_persistent_objects_list()
354 TEE_UUID *uuid) in unregister_persistent_object()
372 ((token->db_objs->count - 1) * sizeof(TEE_UUID)), in unregister_persistent_object()
390 idx * sizeof(TEE_UUID)); in unregister_persistent_object()
397 count * sizeof(TEE_UUID)); in unregister_persistent_object()
401 ptr->count * sizeof(TEE_UUID)); in unregister_persistent_object()
416 TEE_UUID *uuid) in register_persistent_object()
430 ((count + 1) * sizeof(TEE_UUID))); in register_persistent_object()
435 TEE_MemMove(token->db_objs->uuids + count, uuid, sizeof(TEE_UUID)); in register_persistent_object()
439 count * sizeof(TEE_UUID); in register_persistent_object()
445 res = TEE_TruncateObjectData(db_hdl, size + sizeof(TEE_UUID)); in register_persistent_object()
458 token->db_objs->count * sizeof(TEE_UUID)); in register_persistent_object()
617 size += db_objs->count * sizeof(TEE_UUID); in init_persistent_db()
626 if (res || size != (db_objs->count * sizeof(TEE_UUID))) in init_persistent_db()
633 TEE_UUID *uuid = NULL; in init_persistent_db()
635 uuid = TEE_Malloc(sizeof(TEE_UUID), in init_persistent_db()