A TEE_Attribute can either define a buffer or a value.
This is determined by bit [29] of the attribute identifier.
bit [29] = 0 : attribute is a buffer and the field ref is used. bit [29] = 1 : attribute is a value and the field value is used.
An array of attributes is passed to a function, either to populate an an object or to specify operation parameters, and if an attribute identifier is present twice in the array, then only the first occurence is used.
Definition at line 49 of file tee_trusted_storage_datatypes.h.
Data Fields | |
uint32_t | attribute_ID |
TEE_MemoryReference | ref |
TEE_Value | value |
uint32_t TEE_Attribute::attribute_ID |
Definition at line 51 of file tee_trusted_storage_datatypes.h.
TEE_MemoryReference TEE_Attribute::ref |
Definition at line 52 of file tee_trusted_storage_datatypes.h.
TEE_Value TEE_Attribute::value |
Definition at line 53 of file tee_trusted_storage_datatypes.h.