Home
last modified time | relevance | path

Searched refs:nvHandleNode (Results 1 – 5 of 5) sorted by relevance

/external/tpm2-tss/test/integration/
Desys-nv-ram-ordinary-index.int.c135 RSRC_NODE_T *nvHandleNode; in test_esys_nv_ram_ordinary_index() local
137 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_ordinary_index()
140 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_ordinary_index()
141 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_ordinary_index()
172 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_ordinary_index()
175 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_ordinary_index()
176 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_ordinary_index()
210 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_ordinary_index()
213 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_ordinary_index()
214 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_ordinary_index()
[all …]
Desys-nv-ram-counter.int.c122 RSRC_NODE_T *nvHandleNode; in test_esys_nv_ram_counter() local
124 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_counter()
127 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_counter()
128 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_counter()
157 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_counter()
160 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_counter()
161 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_counter()
194 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_counter()
197 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_counter()
198 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_counter()
Desys-nv-ram-set-bits.int.c121 RSRC_NODE_T *nvHandleNode; in test_esys_nv_ram_set_bits() local
123 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_set_bits()
126 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_set_bits()
127 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_set_bits()
159 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_set_bits()
162 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_set_bits()
163 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_set_bits()
196 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_set_bits()
199 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_set_bits()
200 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_set_bits()
Desys-nv-ram-extend-index.int.c130 RSRC_NODE_T *nvHandleNode; in test_esys_nv_ram_extend_index() local
132 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_extend_index()
135 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_extend_index()
136 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_extend_index()
167 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_extend_index()
170 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_extend_index()
171 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_extend_index()
206 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_extend_index()
209 if (nvName->size != nvHandleNode->rsrc.name.size || in test_esys_nv_ram_extend_index()
210 memcmp(&nvName->name, &nvHandleNode->rsrc.name.name, nvName->size) != 0) { in test_esys_nv_ram_extend_index()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_NV_DefineSpace.c294 RSRC_NODE_T *nvHandleNode = NULL; in Esys_NV_DefineSpace_Finish() local
302 r = esys_CreateResourceObject(esysContext, *nvHandle, &nvHandleNode); in Esys_NV_DefineSpace_Finish()
364 nvHandleNode->rsrc.rsrcType = IESYSC_NV_RSRC; in Esys_NV_DefineSpace_Finish()
366 &nvHandleNode->rsrc.name); in Esys_NV_DefineSpace_Finish()
372 nvHandleNode->rsrc.handle = in Esys_NV_DefineSpace_Finish()
374 nvHandleNode->rsrc.misc.rsrc_nv_pub = in Esys_NV_DefineSpace_Finish()
377 nvHandleNode->auth.size = 0; in Esys_NV_DefineSpace_Finish()
379 nvHandleNode->auth = *esysContext->in.NV.auth; in Esys_NV_DefineSpace_Finish()