NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

A TEE_ObjectInfo structure contains information about a storage object:

Definition at line 59 of file tee_trusted_storage_datatypes.h.

Data Fields

uint32_t objectType
 The parameter objectType passed during object creation, i.e persistent or transient. More...
 
uint32_t objectSize
 Contains the size of storage object. More...
 
uint32_t maxObjectSize
 Equal to objecSize for a persistent object. More...
 
uint32_t objectUsage
 Defines the scope of usage for the storage object. More...
 
uint32_t dataSize
 Set to the current size of the data associated with the object for persistent objects. More...
 
uint32_t dataPosition
 Set to the current position in the data for the current handle. More...
 
uint32_t handleFlags
 A bit vector containing one or more of the following flags: More...
 

Field Documentation

◆ dataPosition

uint32_t TEE_ObjectInfo::dataPosition

Set to the current position in the data for the current handle.

Data positions for different handles on the same object may differ. Set to 0 for transient objects.

Definition at line 83 of file tee_trusted_storage_datatypes.h.

◆ dataSize

uint32_t TEE_ObjectInfo::dataSize

Set to the current size of the data associated with the object for persistent objects.

Always set to 0 for transient objects.

Definition at line 79 of file tee_trusted_storage_datatypes.h.

◆ handleFlags

uint32_t TEE_ObjectInfo::handleFlags

A bit vector containing one or more of the following flags:

  • TEE_HANDLE_FLAG_PERSISTENT: Set for a persistent object.
  • TEE_HANDLE_FLAG_INITIALIZED: Always set for persistent objects. For transient objects, initially cleared, then set when the object is initialized.
  • TEE_DATA_FLAG_XXX: Only for persistent objects, these flags are used to open or create the object.

Definition at line 93 of file tee_trusted_storage_datatypes.h.

◆ maxObjectSize

uint32_t TEE_ObjectInfo::maxObjectSize

Equal to objecSize for a persistent object.

Size is passed to TEE_AllocateTransientObject for transient objects.

Definition at line 69 of file tee_trusted_storage_datatypes.h.

◆ objectSize

uint32_t TEE_ObjectInfo::objectSize

Contains the size of storage object.

Set to 0 for an uninitialized object.

Definition at line 66 of file tee_trusted_storage_datatypes.h.

◆ objectType

uint32_t TEE_ObjectInfo::objectType

The parameter objectType passed during object creation, i.e persistent or transient.

Definition at line 63 of file tee_trusted_storage_datatypes.h.

◆ objectUsage

uint32_t TEE_ObjectInfo::objectUsage

Defines the scope of usage for the storage object.

A bit vector of the TEE_USAGE_XXX bits defined in TEE_TRUSTED_STORAGE_CONSTANTS_H. It is initialized to 0xFFFFFFFF and the scope can be narrowed by calling TEE_SetRestrictUsage

Definition at line 75 of file tee_trusted_storage_datatypes.h.


The documentation for this struct was generated from the following file: