Home
last modified time | relevance | path

Searched refs:nvHandle (Results 1 – 20 of 20) sorted by relevance

/external/tpm2-tss/test/integration/
Desys-nv-ram-ordinary-index.int.c51 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_nv_ram_ordinary_index() local
117 &nvHandle); in test_esys_nv_ram_ordinary_index()
127 nvHandle, in test_esys_nv_ram_ordinary_index()
137 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_ordinary_index()
146 nvHandle, in test_esys_nv_ram_ordinary_index()
147 nvHandle, in test_esys_nv_ram_ordinary_index()
164 nvHandle, in test_esys_nv_ram_ordinary_index()
172 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_ordinary_index()
182 nvHandle, in test_esys_nv_ram_ordinary_index()
183 nvHandle, in test_esys_nv_ram_ordinary_index()
[all …]
Desys-nv-ram-counter.int.c43 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_nv_ram_counter() local
109 &nvHandle); in test_esys_nv_ram_counter()
114 nvHandle, in test_esys_nv_ram_counter()
124 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_counter()
133 nvHandle, in test_esys_nv_ram_counter()
134 nvHandle, in test_esys_nv_ram_counter()
149 nvHandle, in test_esys_nv_ram_counter()
157 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_counter()
170 nvHandle, in test_esys_nv_ram_counter()
171 nvHandle, in test_esys_nv_ram_counter()
[all …]
Desys-nv-ram-set-bits.int.c43 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_nv_ram_set_bits() local
108 &nvHandle); in test_esys_nv_ram_set_bits()
113 nvHandle, in test_esys_nv_ram_set_bits()
123 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_set_bits()
135 nvHandle, in test_esys_nv_ram_set_bits()
136 nvHandle, in test_esys_nv_ram_set_bits()
151 nvHandle, in test_esys_nv_ram_set_bits()
159 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_set_bits()
169 nvHandle, in test_esys_nv_ram_set_bits()
170 nvHandle, in test_esys_nv_ram_set_bits()
[all …]
Desys-nv-ram-extend-index.int.c46 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_nv_ram_extend_index() local
112 &nvHandle); in test_esys_nv_ram_extend_index()
122 nvHandle, in test_esys_nv_ram_extend_index()
132 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_extend_index()
142 nvHandle, in test_esys_nv_ram_extend_index()
143 nvHandle, in test_esys_nv_ram_extend_index()
159 nvHandle, in test_esys_nv_ram_extend_index()
167 r = esys_GetResourceObject(esys_context, nvHandle, &nvHandleNode); in test_esys_nv_ram_extend_index()
178 nvHandle, in test_esys_nv_ram_extend_index()
179 nvHandle, in test_esys_nv_ram_extend_index()
[all …]
Desys-tr-fromTpmPublic-nv.int.c39 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_tr_fromTpmPublic_nv() local
62 &auth, &publicInfo, &nvHandle); in test_esys_tr_fromTpmPublic_nv()
65 r = Esys_NV_ReadPublic(ectx, nvHandle, in test_esys_tr_fromTpmPublic_nv()
70 r = Esys_TR_Close(ectx, &nvHandle); in test_esys_tr_fromTpmPublic_nv()
75 &nvHandle); in test_esys_tr_fromTpmPublic_nv()
78 r = Esys_TR_GetName(ectx, nvHandle, &name2); in test_esys_tr_fromTpmPublic_nv()
81 r = Esys_NV_UndefineSpace(ectx, ESYS_TR_RH_OWNER, nvHandle, in test_esys_tr_fromTpmPublic_nv()
103 if (nvHandle != ESYS_TR_NONE) { in test_esys_tr_fromTpmPublic_nv()
106 nvHandle, in test_esys_tr_fromTpmPublic_nv()
Desys-auto-session-flags.int.c39 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_auto_flags() local
110 &nvHandle); in test_esys_auto_flags()
122 nvHandle, in test_esys_auto_flags()
123 nvHandle, in test_esys_auto_flags()
150 nvHandle, in test_esys_auto_flags()
151 nvHandle, in test_esys_auto_flags()
174 if (nvHandle != ESYS_TR_NONE) { in test_esys_auto_flags()
177 nvHandle, in test_esys_auto_flags()
Desys-policy-authorize-nv-opt.int.c90 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_policy_authorize_nv_opt() local
134 ESYS_TR_NONE, &auth, &publicInfo, &nvHandle); in test_esys_policy_authorize_nv_opt()
158 nvHandle, in test_esys_policy_authorize_nv_opt()
179 nvHandle, in test_esys_policy_authorize_nv_opt()
199 nvHandle, in test_esys_policy_authorize_nv_opt()
205 nvHandle = ESYS_TR_NONE; in test_esys_policy_authorize_nv_opt()
221 if (nvHandle != ESYS_TR_NONE) { in test_esys_policy_authorize_nv_opt()
224 nvHandle, in test_esys_policy_authorize_nv_opt()
Desys-policy-nv-changeauth.int.c49 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_policy_nv_changeauth() local
135 &nvHandle); in test_esys_policy_nv_changeauth()
179 nvHandle, in test_esys_policy_nv_changeauth()
189 nvHandle, in test_esys_policy_nv_changeauth()
208 &nvHandle); in test_esys_policy_nv_changeauth()
238 nvHandle, in test_esys_policy_nv_changeauth()
248 nvHandle, in test_esys_policy_nv_changeauth()
275 if (nvHandle != ESYS_TR_NONE) { in test_esys_policy_nv_changeauth()
278 nvHandle, in test_esys_policy_nv_changeauth()
Desys-nv-certify.int.c45 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_nv_certify() local
173 &nvHandle); in test_esys_nv_certify()
182 nvHandle, in test_esys_nv_certify()
183 nvHandle, in test_esys_nv_certify()
198 nvHandle, in test_esys_nv_certify()
221 nvHandle, in test_esys_nv_certify()
247 if (nvHandle != ESYS_TR_NONE) { in test_esys_nv_certify()
250 nvHandle, in test_esys_nv_certify()
Desys-tr-getTpmHandle-nv.int.c40 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_tr_toTpmPublic_nv() local
62 &auth, &publicInfo, &nvHandle); in test_esys_tr_toTpmPublic_nv()
67 r = Esys_TR_GetTpmHandle(ectx, nvHandle, &tpmHandle); in test_esys_tr_toTpmPublic_nv()
78 r = Esys_NV_UndefineSpace(ectx, ESYS_TR_RH_OWNER, nvHandle, in test_esys_tr_toTpmPublic_nv()
Desys-policy-regression.int.c99 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_policy_regression() local
190 ESYS_TR_NONE, &auth, &publicInfo, &nvHandle); in test_esys_policy_regression()
215 nvHandle, in test_esys_policy_regression()
428 nvHandle, in test_esys_policy_regression()
434 nvHandle = ESYS_TR_NONE; in test_esys_policy_regression()
477 if (nvHandle != ESYS_TR_NONE) { in test_esys_policy_regression()
480 nvHandle, in test_esys_policy_regression()
Desys-policy-nv-undefine-special.int.c49 ESYS_TR nvHandle = ESYS_TR_NONE; in test_esys_policy_nv_undefine_special() local
135 &nvHandle); in test_esys_policy_nv_undefine_special()
196 nvHandle, in test_esys_policy_nv_undefine_special()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/
DNV_spt.c54 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be read in NvReadAccessChecks() argument
79 else if(authHandle != nvHandle) in NvReadAccessChecks()
102 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be written in NvWriteAccessChecks() argument
127 else if(authHandle != nvHandle) in NvWriteAccessChecks()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_NV_DefineSpace.c93 const TPM2B_NV_PUBLIC *publicInfo, ESYS_TR *nvHandle) in Esys_NV_DefineSpace() argument
112 r = Esys_NV_DefineSpace_Finish(esysContext, nvHandle); in Esys_NV_DefineSpace()
276 ESYS_CONTEXT *esysContext, ESYS_TR *nvHandle) in Esys_NV_DefineSpace_Finish() argument
280 esysContext, nvHandle); in Esys_NV_DefineSpace_Finish()
297 if (nvHandle == NULL) { in Esys_NV_DefineSpace_Finish()
301 *nvHandle = esysContext->esys_handle_cnt++; in Esys_NV_DefineSpace_Finish()
302 r = esys_CreateResourceObject(esysContext, *nvHandle, &nvHandleNode); in Esys_NV_DefineSpace_Finish()
386 Esys_TR_Close(esysContext, nvHandle); in Esys_NV_DefineSpace_Finish()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvDynamic.c138 TPM_HANDLE nvHandle = 0; in NvNextByType() local
140 while((addr = NvNext(iter, &nvHandle)) != 0) in NvNextByType()
144 if(HandleGetType(nvHandle) == type) in NvNextByType()
148 *handle = nvHandle; in NvNextByType()
622 TPM_HANDLE nvHandle, in NvFindEvict() argument
626 NV_REF found = NvFindHandle(nvHandle); in NvFindEvict()
638 TPM_HANDLE nvHandle // IN: Index to look for in NvIndexIsDefined() argument
641 return (NvFindHandle(nvHandle) != 0); in NvIndexIsDefined()
1033 TPM_HANDLE nvHandle, // IN: the index handle in NvGetIndexInfo() argument
1037 if(s_cachedNvIndex.publicArea.nvIndex != nvHandle) in NvGetIndexInfo()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DNV_spt_fp.h56 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be read
71 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be written
DNvDynamic_fp.h83 TPM_HANDLE nvHandle // IN: Index to look for
221 TPM_HANDLE nvHandle, // IN: the index handle
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_CreateNv.c267 ESYS_TR nvHandle; in Fapi_CreateNv_Finish() local
414 r = Esys_NV_DefineSpace_Finish(context->esys, &nvHandle); in Fapi_CreateNv_Finish()
420 nvCmd->nv_object.handle = nvHandle; in Fapi_CreateNv_Finish()
/external/tpm2-tss/include/tss2/
Dtss2_esys.h2855 ESYS_TR *nvHandle);
2870 ESYS_TR *nvHandle);
/external/tpm2-tss/doc/
Ddoxygen.dox474 …e2, ESYS_TR shandle3, const TPM2B_AUTH *auth, const TPM2B_NV_PUBLIC *publicInfo, ESYS_TR *nvHandle)
475 \fn TSS2_RC Esys_NV_DefineSpace_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *nvHandle)