NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
tee_internal_property_access.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 
31 #ifndef TEE_INTERNAL_PROPERTY_ACCESS_H
32 #define TEE_INTERNAL_PROPERTY_ACCESS_H
33 
36 #include <tee_internal/tee_internal_os_abstraction_layer.h>
37 #include <tee_common/tee_common_os_abstraction_layer.h>
38 /* Currently Supported Global platform Property Names
39  * Only supported by Trusty, not TZVault.
40  *
41  * Constant Definitions of property names
42  * as per the GlobalPlatformAPI spec
43  */
44 #define GPD_CLIENT_IDENTITY "gpd.client.identity"
45 #define GPD_CURRENT_TA_UUID "gpd.ta.appID"
46 /* ------------------------------------------- */
47 
48 /* TODO Currently Unsupported */
50  TEE_PropSetHandle* enumerator );
51 
52 /* TODO Currently Unsupported */
54  TEE_PropSetHandle propsetOrEnumerator,
55  char* name,
56  char* valueBuffer,
57  size_t* valueBufferLen );
58 
59 /* TODO Currently Unsupported */
61  TEE_PropSetHandle propsetOrEnumerator,
62  char* name,
63  bool* value );
64 
65 /* TODO Currently Unsupported */
67  TEE_PropSetHandle propsetOrEnumerator,
68  char* name,
69  uint32_t* value );
70 
71 /* TODO Currently Unsupported */
73  TEE_PropSetHandle propsetOrEnumerator,
74  char* name,
75  void* valueBuffer,
76  size_t* valueBufferLen );
77 
78 /* TODO Currently Unsupported */
80  TEE_PropSetHandle propsetOrEnumerator,
81  char* name,
82  TEE_UUID* value );
83 
84 /* TODO Currently Unsupported */
86  TEE_PropSetHandle enumerator );
87 
88 /* TODO Currently Unsupported */
90  TEE_PropSetHandle enumerator,
91  TEE_PropSetHandle propSet );
92 
93 /* TODO Currently Unsupported */
95  TEE_PropSetHandle enumerator );
96 
97 /* TODO Currently Unsupported */
99  TEE_PropSetHandle enumerator,
100  void* nameBuffer,
101  size_t* nameBufferLen );
102 
103 /* TODO Currently Unsupported */
105  TEE_PropSetHandle enumerator);
107 #endif /* TEE_INTERNAL_PROPERTY_ACCESS_H */
tee_internal_constants.h
GlobalPlatform: Tee Internal Constants
TEE_GetPropertyAsBinaryBlock
TEE_Result TEE_GetPropertyAsBinaryBlock(TEE_PropSetHandle propsetOrEnumerator, char *name, void *valueBuffer, size_t *valueBufferLen)
TEE_GetPropertyAsString
TEE_Result TEE_GetPropertyAsString(TEE_PropSetHandle propsetOrEnumerator, char *name, char *valueBuffer, size_t *valueBufferLen)
TEE_ResetPropertyEnumerator
void TEE_ResetPropertyEnumerator(TEE_PropSetHandle enumerator)
TEE_PropSetHandle
struct __TEE_PropSetHandle * TEE_PropSetHandle
An opaque handle on a property set or enumerator.
Definition: tee_internal_datatypes.h:72
TEE_GetNextProperty
TEE_Result TEE_GetNextProperty(TEE_PropSetHandle enumerator)
TEE_StartPropertyEnumerator
void TEE_StartPropertyEnumerator(TEE_PropSetHandle enumerator, TEE_PropSetHandle propSet)
TEE_Result
TEE_Result
Error codes as defined in the GP spec.
Definition: tee_internal_constants.h:37
TEE_AllocatePropertyEnumerator
TEE_Result TEE_AllocatePropertyEnumerator(TEE_PropSetHandle *enumerator)
TEE_GetPropertyName
TEE_Result TEE_GetPropertyName(TEE_PropSetHandle enumerator, void *nameBuffer, size_t *nameBufferLen)
TEE_GetPropertyAsU32
TEE_Result TEE_GetPropertyAsU32(TEE_PropSetHandle propsetOrEnumerator, char *name, uint32_t *value)
TEE_GetPropertyAsBool
TEE_Result TEE_GetPropertyAsBool(TEE_PropSetHandle propsetOrEnumerator, char *name, bool *value)
tee_internal_datatypes.h
GlobalPlatform: TEE Internal Datatypes
TEE_GetPropertyAsUUID
TEE_Result TEE_GetPropertyAsUUID(TEE_PropSetHandle propsetOrEnumerator, char *name, TEE_UUID *value)
TEE_FreePropertyEnumerator
void TEE_FreePropertyEnumerator(TEE_PropSetHandle enumerator)