NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
tee_trusted_storage_datatypes.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010 GlobalPlatform Inc. All Rights Reserved.
3  * The technology provided or described herein is subject to updates, revisions,
4  * and extensions by GlobalPlatform. Use of this information is governed by the
5  * GlobalPlatform license agreement and any use inconsistent with that agreement
6  * is strictly prohibited
7  *
8  * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
9  * NVIDIA CORPORATION and its licensors retain all intellectual property
10  * and proprietary rights in and to this software, related documentation
11  * and any modifications thereto. Any use, reproduction, disclosure or
12  * distribution of this software and related documentation without an express
13  * license agreement from NVIDIA CORPORATION is strictly prohibited.
14  */
15 
32 #ifndef TEE_TRUSTED_STORAGE_DATATYPES_H
33 #define TEE_TRUSTED_STORAGE_DATATYPES_H
34 
35 #include <tee_common/tee_common_datatypes.h>
36 
49 typedef struct
50 {
51  uint32_t attribute_ID;
52  TEE_MemoryReference ref;
53  TEE_Value value;
55 
59 typedef struct
60 {
63  uint32_t objectType;
66  uint32_t objectSize;
69  uint32_t maxObjectSize;
75  uint32_t objectUsage;
79  uint32_t dataSize;
83  uint32_t dataPosition;
93  uint32_t handleFlags;
95 
100 typedef enum
101 {
105 } TEE_Whence;
106 
111 typedef struct __TEE_ObjectEnumHandle* TEE_ObjectEnumHandle;
113 #endif /* TEE_TRUSTED_STORAGE_DATATYPES_H */
TEE_Attribute::ref
TEE_MemoryReference ref
Definition: tee_trusted_storage_datatypes.h:52
TEE_Whence
TEE_Whence
Enumerates the possible start offset when moving a data position in the data stream associated with a...
Definition: tee_trusted_storage_datatypes.h:100
TEE_ObjectInfo::objectSize
uint32_t objectSize
Contains the size of storage object.
Definition: tee_trusted_storage_datatypes.h:66
TEE_DATA_SEEK_CUR
@ TEE_DATA_SEEK_CUR
Definition: tee_trusted_storage_datatypes.h:103
TEE_DATA_SEEK_END
@ TEE_DATA_SEEK_END
Definition: tee_trusted_storage_datatypes.h:104
TEE_ObjectEnumHandle
struct __TEE_ObjectEnumHandle * TEE_ObjectEnumHandle
An opaque handle on a object enumerator These handles are returned by the TEE_AllocatePersistentObjec...
Definition: tee_trusted_storage_datatypes.h:111
TEE_DATA_SEEK_SET
@ TEE_DATA_SEEK_SET
Definition: tee_trusted_storage_datatypes.h:102
TEE_ObjectInfo::objectType
uint32_t objectType
The parameter objectType passed during object creation, i.e persistent or transient.
Definition: tee_trusted_storage_datatypes.h:63
TEE_ObjectInfo::dataSize
uint32_t dataSize
Set to the current size of the data associated with the object for persistent objects.
Definition: tee_trusted_storage_datatypes.h:79
TEE_ObjectInfo::dataPosition
uint32_t dataPosition
Set to the current position in the data for the current handle.
Definition: tee_trusted_storage_datatypes.h:83
TEE_Attribute
A TEE_Attribute can either define a buffer or a value.
Definition: tee_trusted_storage_datatypes.h:49
TEE_ObjectInfo
A TEE_ObjectInfo structure contains information about a storage object:
Definition: tee_trusted_storage_datatypes.h:59
TEE_ObjectInfo::handleFlags
uint32_t handleFlags
A bit vector containing one or more of the following flags:
Definition: tee_trusted_storage_datatypes.h:93
TEE_ObjectInfo::maxObjectSize
uint32_t maxObjectSize
Equal to objecSize for a persistent object.
Definition: tee_trusted_storage_datatypes.h:69
TEE_Attribute::attribute_ID
uint32_t attribute_ID
Definition: tee_trusted_storage_datatypes.h:51
TEE_ObjectInfo::objectUsage
uint32_t objectUsage
Defines the scope of usage for the storage object.
Definition: tee_trusted_storage_datatypes.h:75
TEE_Attribute::value
TEE_Value value
Definition: tee_trusted_storage_datatypes.h:53