NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ote_nv_uuid.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2018, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
41 #ifndef __OTE_NV_UUID_H
42 #define __OTE_NV_UUID_H
43 
46 // All zero UUID is not allowed for any task
47 #define NULL_UUID \
48  { 0x00000000, 0x0000, 0x0000, \
49  { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }
50 
51 // {6B42300B-8881-416d-9ABC-38B83E9CF49F}
52 #define SERVICE_RTC_UUID \
53  { 0x6b42300b, 0x8881, 0x416d, \
54  { 0x9a, 0xbc, 0x38, 0xb8, 0x3e, 0x9c, 0xf4, 0x9f } }
55 
56 //{2f68f22a-6fa9-461f-813d-b12d09401114}
57 #define SERVICE_VUDU_UUID \
58  { 0x2f68f22a, 0x6fa9, 0x461f, \
59  { 0x81, 0x3d, 0xb1, 0x2d, 0x09, 0x40, 0x11, 0x14 } }
60 
61 // {74629D40-1378-4d17-94D0-E0AF5D861D88}
62 #define SERVICE_OTF_UUID \
63  { 0x74629d40, 0x1378, 0x4d17, \
64  { 0x94, 0xd0, 0xe0, 0xaf, 0x5d, 0x86, 0x1d, 0x88 } }
65 
66 // {5286F1BE-1CB4-40be-A77A-B6BBE41E768F}
67 #define SERVICE_STORAGE_UUID \
68  { 0x5286f1be, 0x1cb4, 0x40be, \
69  { 0xa7, 0x7a, 0xb6, 0xbb, 0xe4, 0x1e, 0x76, 0x8f } }
70 
71 // {38ba0cdc-df0e-11e4-9869-233fb6ae4795}
72 #define SERVICE_GATEKEEPER_UUID \
73  { 0x38ba0cdc, 0xdf0e, 0x11e4, \
74  { 0x98, 0x69, 0x23, 0x3f, 0xb6, 0xae, 0x47, 0x95 } }
75 
76 // {7E02FE41-E41B-405a-BC8B-44A8B89D5812}
77 #define SERVICE_KEYMASTER_UUID \
78  { 0x7e02fe41, 0xe41b, 0x405a, \
79  { 0xbc, 0x8b, 0x44, 0xa8, 0xb8, 0x9d, 0x58, 0x12 } }
80 
81 // {13f616f9-8572-4a6f-a1f1-03aa9b05f9ff}
82 #define SERVICE_OEMCRYPTO_UUID \
83  { 0x13F616F9, 0x8572, 0x4A6F, \
84  { 0xA1, 0xF1, 0x03, 0xAA, 0x9B, 0x05, 0xF9, 0xff } }
85 
86 // {130616f9-8572-4a6f-a1f1-03aa9b01c9ee}
87 #define SERVICE_PLAYREADY_UUID \
88  { 0x130616F9, 0x8572, 0x4A6F, \
89  { 0xA1, 0xF1, 0x03, 0xAA, 0x9B, 0x01, 0xC9, 0xee } }
90 
91 // {64661962-40B5-46b8-B955-D010C461F62F}
92 #define SERVICE_NVCRYPTO_UUID \
93  { 0x64661962, 0x40b5, 0x46b8, \
94  { 0xb9, 0x55, 0xd0, 0x10, 0xc4, 0x61, 0xf6, 0x2f } }
95 
96 /* {13f616f9-8572-4a6f-a1f1-04aa9b05f9ff} */
97 #define SERVICE_SECURE_HDCP_UUID \
98  { 0x13F616F9, 0x8572, 0x4A6F, \
99  { 0xA1, 0xF1, 0x04, 0xAA, 0x9B, 0x05, 0xF9, 0xff } }
100 
101 // {403A0B40-B50D-40a4-A87C-62D253FDA594}
102 #define SERVICE_TRUSTEDAPP_UUID \
103  { 0x403a0b40, 0xb50d, 0x40a4, \
104  { 0xa8, 0x7c, 0x62, 0xd2, 0x53, 0xfd, 0xa5, 0x94 } }
105 
106 // {214151DE-9F90-4c9c-896C-DE90FD87C4DC}
107 #define SERVICE_TRUSTEDAPP2_UUID \
108  { 0x214151de, 0x9f90, 0x4c9c, \
109  { 0x89, 0x6c, 0xde, 0x90, 0xfd, 0x87, 0xc4, 0xdc } }
110 
111 // {3180D513-60DD-4179-B710-5791AA3EF642}
112 #define SERVICE_STORAGE_DEMO_UUID \
113  { 0x3180d513, 0x60dd, 0x4179, \
114  { 0xb7, 0x10, 0x57, 0x91, 0xaa, 0x3e, 0xf6, 0x42 } }
115 
116 // {2FF24307-2623-48f5-A48D-77E0D2ABBA46}
117 #define SERVICE_CRYPTO_DEMO_UUID \
118  { 0x2ff24307, 0x2623, 0x48f5, \
119  { 0xa4, 0x8d, 0x77, 0xe0, 0xd2, 0xab, 0xba, 0x46 } }
120 
121 // {cb25682e-3d21-4e98-8653-3bb46cabf89f}
122 #define SERVICE_TSEC_UUID \
123  { 0xcb25682e, 0x3d21, 0x4e98, \
124  { 0x86, 0x53, 0x3b, 0xb4, 0x6c, 0xab, 0xf8, 0x9f } }
125 
126 // {141b16b8-1f7e-42aa-a5d7-7b747738321e}
127 #define TESTING_SERVICE_UUID \
128  { 0x141b16b8, 0x1f7e, 0x42aa, \
129  { 0xa5, 0xd7, 0x7b, 0x74, 0x77, 0x38, 0x32, 0x1e } }
130 
131 // {b93536ea-e56f-42b8-96e7-ca965fa90a47}
132 #define SERVICE_NVTML_UUID \
133  { 0xb93536ea, 0xe56f, 0x42b8, \
134  { 0x96, 0xe7, 0xca, 0x96, 0x5f, 0xa9, 0x0a, 0x47 } }
135 
136 // RFC-4122 compliant UUID (version-5, sha-1) of
137 // "installer" in "TLK" namespace.
138 //
139 // {c622e081-3de8-5c15-b378-35369cd3ecc6}
140 #define SERVICE_INSTALLER_UUID \
141  { 0xc622e081, 0x3de8, 0x5c15, \
142  { 0xb3, 0x78, 0x35, 0x36, 0x9c, 0xd3, 0xec, 0xc6 } }
143 
144 // {0179ed96-1adb-45a8-8dc69d08790252bb}
145 #define SERVICE_VRRAUTH_UUID \
146  { 0x0179ed96, 0x1adb, 0x45a8, \
147  { 0x8d, 0xc6, 0x9d, 0x08, 0x79, 0x02, 0x52, 0xbb } }
148 
149 // {f7930cf5-c2fb-4d06-aa7b-57a33ea4224c}
150 #define EFS_CRYPTO_UUID \
151  { 0xf7930cf5, 0xc2fb, 0x4d06, \
152  { 0xaa, 0x7b, 0x57, 0xa3, 0x3e, 0xa4, 0x22, 0x4c } }
153 
154 // {b7364f14-9835-4ba9-92db-8f94129cad3f}
155 #define SAMPLE_SERVICE1_UUID \
156  { 0xb7364f14, 0x9835, 0x4ba9, \
157  { 0x92, 0xdb, 0x8f, 0x94, 0x12, 0x9c, 0xad, 0x3f } }
158 
159 // {d5c3bb40-5b2d-11e5-885d-feff819cdc9f}
160 #define SAMPLE_SERVICE2_UUID \
161  { 0xd5c3bb40, 0x5b2d, 0x11e5, \
162  { 0x88, 0x5d, 0xfe, 0xff, 0x81, 0x9c, 0xdc, 0x9f } }
163 
164 // {9f0d04ea-dacd-4177-ae4f-307e7b25df90}
165 #define SAMPLE_SERVICE3_GP_UUID \
166  { 0x9f0d04ea, 0xdacd, 0x4177, \
167  { 0xae, 0x4f, 0x30, 0x7e, 0x7b, 0x25, 0xdf, 0x90 } }
168 
169 // {13928130-5a75-11e6-8b77-86f30ca893d3}
170 #define SERVICE_EKS2_UUID \
171  { 0x13928130, 0x5a75, 0x11e6, \
172  { 0x8b, 0x77, 0x86, 0xf3, 0x0c, 0xa8, 0x93, 0xd3 } }
173 
174 // {ed28f376-93ab-4a27-bcfe-c7bf22c36ee5}
175 #define SERVICE_FINGERPRINT_UUID \
176  { 0xed28f376, 0x93ab, 0x4a27, \
177  { 0xbc, 0xfe, 0xc7, 0xbf, 0x22, 0xc3, 0x6e, 0xe5 } }
178 
179 // {33546eba-c918-4165-8680-a2e1e69a49c9}
180 #define SERVICE_MODS_UUID \
181  { 0x33546eba, 0xc918, 0x4165, \
182  { 0x86, 0x80, 0xa2, 0xe1, 0xe6, 0x9a, 0x49, 0xc9 } }
183 
184 // {52369d99-f6a4-4496-b642-6c375cc3bff9}
185 #define SERVICE_OTA_KEYMGMT_UUID \
186  { 0x52369d99, 0xf6a4, 0x4496, \
187  { 0xb6, 0x42, 0x6c, 0x37, 0x5c, 0xc3, 0xbf, 0xf9 } }
188 
191 #if !defined(CONFIG_TRUSTY)
192 /* list of TAs which may be used by TLK */
193 #define TLK_SERVICE_UUID_LIST \
194  { \
195  SERVICE_RTC_UUID, \
196  SERVICE_VUDU_UUID, \
197  SERVICE_OTF_UUID, \
198  SERVICE_STORAGE_UUID, \
199  SERVICE_GATEKEEPER_UUID, \
200  SERVICE_KEYMASTER_UUID, \
201  SERVICE_OEMCRYPTO_UUID, \
202  SERVICE_PLAYREADY_UUID, \
203  SERVICE_NVCRYPTO_UUID, \
204  SERVICE_SECURE_HDCP_UUID, \
205  SERVICE_TRUSTEDAPP_UUID, \
206  SERVICE_TRUSTEDAPP2_UUID, \
207  SERVICE_STORAGE_DEMO_UUID, \
208  SERVICE_CRYPTO_DEMO_UUID, \
209  SERVICE_TSEC_UUID, \
210  TESTING_SERVICE_UUID, \
211  SERVICE_NVTML_UUID, \
212  SERVICE_VRRAUTH_UUID, \
213  SERVICE_EKS2_UUID, \
214  }
215 #endif /* !defined(CONFIG_TRUSTY) */
216 
217 #endif