Home
last modified time | relevance | path

Searched refs:TPM_HANDLE (Results 1 – 25 of 40) sorted by relevance

12

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Capability/
DGetCapability.c69 switch(HandleGetType((TPM_HANDLE)in->property)) in TPM2_GetCapability()
73 out->moreData = ObjectCapGetLoaded((TPM_HANDLE)in->property, in TPM2_GetCapability()
79 out->moreData = NvCapGetPersistent((TPM_HANDLE)in->property, in TPM2_GetCapability()
85 out->moreData = NvCapGetIndex((TPM_HANDLE)in->property, in TPM2_GetCapability()
91 out->moreData = SessionCapGetLoaded((TPM_HANDLE)in->property, in TPM2_GetCapability()
101 out->moreData = SessionCapGetSaved((TPM_HANDLE)in->property, in TPM2_GetCapability()
107 out->moreData = PCRCapGetHandles((TPM_HANDLE)in->property, in TPM2_GetCapability()
113 out->moreData = PermanentCapGetHandles((TPM_HANDLE)in->property, in TPM2_GetCapability()
163 if(HandleGetType((TPM_HANDLE)in->property) != TPM_HT_PERMANENT) in TPM2_GetCapability()
165 out->moreData = PermanentHandleGetPolicy((TPM_HANDLE)in->property, in TPM2_GetCapability()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DSession_fp.h62 TPM_HANDLE handle // IN: session handle
79 TPM_HANDLE handle // IN: session handle
112 TPM_HANDLE handle // IN: session handle
135 TPM_HANDLE *sessionHandle, // OUT: the session handle
154 TPM_HANDLE handle, // IN: session handle
175 TPM_HANDLE *handle // IN/OUT: session handle
187 TPM_HANDLE handle // IN: loaded or saved session handle
DNV_spt_fp.h54 TPM_HANDLE authHandle, // IN: the handle that provided the
56 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be read
69 TPM_HANDLE authHandle, // IN: the handle that provided the
71 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be written
90 TPM_HANDLE index // IN: Handle to check
DHandle_fp.h47 TPM_HANDLE handle // IN: a handle to be checked
54 TPM_HANDLE
56 TPM_HANDLE inHandle // IN: the handle to check
68 TPM_HANDLE handle, // IN: start handle
82 TPM_HANDLE handle, // IN: start handle
DNvDynamic_fp.h83 TPM_HANDLE nvHandle // IN: Index to look for
95 TPM_HANDLE handle // IN: handle
107 TPM_HANDLE handle // IN: handle
137 TPM_HANDLE handle, // IN: handle
194 TPM_HANDLE handle,
221 TPM_HANDLE nvHandle, // IN: the index handle
324 TPM_HANDLE handle // IN: handle of entity to be deleted
439 TPM_HANDLE handle
DObject_fp.h170 TPM_HANDLE parentHandle // IN: the parent handle
276 TPM_HANDLE *handle, // IN:OUT: evict object handle. If success, it
303 TPM_HANDLE parentHandle, // IN: parent's handle
347 TPM_HANDLE handle
352 TPM_HANDLE handle
DAC_spt_fp.h55 TPM_HANDLE acHandle
75 TPM_HANDLE acHandle, // IN: Handle of AC receiving object
DSessionProcess_fp.h56 TPM_HANDLE handle // IN: entity handle
120 TPM_HANDLE handle
DPCR_fp.h193 TPM_HANDLE pcrHandle // IN: the handle of the PCR that changed.
262 TPM_HANDLE handle, // IN: the handle of the PCR to set
DCryptUtil_fp.h198 TPM_HANDLE handle, // IN: encrypt session handle
214 TPM_HANDLE handle, // IN: encrypted session handle
DDA_fp.h75 TPM_HANDLE handle // IN: handle for failure
DLoadExternal_fp.h54 TPM_HANDLE objectHandle;
DLoad_fp.h54 TPM_HANDLE objectHandle;
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/
DNV_spt.c52 TPM_HANDLE authHandle, // IN: the handle that provided the in NvReadAccessChecks()
54 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be read in NvReadAccessChecks()
100 TPM_HANDLE authHandle, // IN: the handle that provided the in NvWriteAccessChecks()
102 TPM_HANDLE nvHandle, // IN: the handle of the NV index to be written in NvWriteAccessChecks()
153 TPM_HANDLE index // IN: Handle to check in NvIsPinPassIndex()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvDynamic.c94 TPM_HANDLE *handle // OUT: the handle of the next item. in NvNext()
132 TPM_HANDLE *handle, // OUT: the handle of the found type or 0 in NvNextByType()
138 TPM_HANDLE nvHandle = 0; in NvNextByType()
292 TPM_HANDLE handle, // IN: optional handle in NvAdd()
311 NvWrite((UINT32)nextAddr, sizeof(TPM_HANDLE), &handle); in NvAdd()
312 nextAddr += sizeof(TPM_HANDLE); in NvAdd()
399 TPM_HANDLE *handle // OUT: the handle of the next item. in NvRamNext()
480 TPM_HANDLE foundHandle; in NvRamGetIndex()
611 NvRead(object, (ref + sizeof(TPM_HANDLE)), sizeof(OBJECT)); in NvReadObject()
622 TPM_HANDLE nvHandle, in NvFindEvict()
[all …]
DSession.c244 TPM_HANDLE handle // IN: session handle in SessionIsLoaded()
276 TPM_HANDLE handle // IN: session handle in SessionIsSaved()
305 TPM_HANDLE handle = context->savedHandle & HR_HANDLE_MASK; in SequenceNumberForSavedContextIsValid()
351 TPM_HANDLE handle // IN: session handle in SessionGet()
395 TPM_HANDLE *handle, // OUT: receives the assigned handle. This will in ContextIdSessionCreate()
457 TPM_HANDLE *sessionHandle, // OUT: the session handle in SessionCreate()
596 TPM_HANDLE handle, // IN: session handle in SessionContextSave()
674 TPM_HANDLE *handle // IN/OUT: session handle in SessionContextLoad()
735 TPM_HANDLE handle // IN: loaded or saved session handle in SessionFlush()
DObject.c197 qualifiedName->t.size = sizeof(TPM_HANDLE); in GetQualifiedName()
309 TPM_HANDLE parentHandle // IN: the parent handle in ObjectSetLoadedAttributes()
479 TPM_HANDLE *newHandle, // OUT: receives the allocated handle in AllocateSequenceSlot()
741 TPM_HANDLE *handle, // IN:OUT: evict object handle. If success, it in ObjectLoadEvict()
747 TPM_HANDLE evictHandle = *handle; // Save the evict handle in ObjectLoadEvict()
839 TPM_HANDLE parentHandle, // IN: parent's handle in ComputeQualifiedName()
977 TPM_HANDLE handle in ObjectGetPublicAttributes()
985 TPM_HANDLE handle in ObjectGetProperties()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DHandle.c47 TPM_HANDLE handle // IN: a handle to be checked in HandleGetType()
58 TPM_HANDLE
60 TPM_HANDLE inHandle // IN: the handle to check in NextPermanentHandle()
108 TPM_HANDLE handle, // IN: start handle in PermanentCapGetHandles()
155 TPM_HANDLE handle, // IN: start handle in PermanentHandleGetPolicy()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DNV.h90 TPM_HANDLE handle;
94 (sizeof(UINT32) + sizeof(TPM_HANDLE) + sizeof(OBJECT))
104 TPM_HANDLE handle;
DTpmTypes.h663 typedef UINT32 TPM_HANDLE; typedef
681 typedef TPM_HANDLE TPM_RH;
704 typedef TPM_HANDLE TPM_HC;
1231 typedef TPM_HANDLE TPMI_DH_OBJECT; // Table 2:42 /* Interface */
1233 typedef TPM_HANDLE TPMI_DH_PARENT; // Table 2:43 /* Interface */
1235 typedef TPM_HANDLE TPMI_DH_PERSISTENT; // Table 2:44 /* Interface */
1237 typedef TPM_HANDLE TPMI_DH_ENTITY; // Table 2:45 /* Interface */
1239 typedef TPM_HANDLE TPMI_DH_PCR; // Table 2:46 /* Interface */
1241 typedef TPM_HANDLE TPMI_SH_AUTH_SESSION; // Table 2:47 /* Interface */
1243 typedef TPM_HANDLE TPMI_SH_HMAC; // Table 2:48 /* Interface */
[all …]
DGlobal.h518 EXTERN TPM_HANDLE g_exclusiveAuditSession;
1114 TPM_HANDLE handles[MAX_HANDLE_NUM]; // the parsed handle values
1194 EXTERN TPM_HANDLE s_sessionHandles[MAX_SESSION_NUM];
1201 EXTERN TPM_HANDLE s_associatedHandles[MAX_SESSION_NUM];
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DCommandDispatcher.c224 TPM_HANDLE *handles = &command->handles[0]; in ParseHandleBuffer()
254 TPM_HANDLE *handles = &command->handles[0]; in CommandDispatcher()
284 TPM_HANDLE *handles; in CommandDispatcher()
324 *(TPM_HANDLE *)&(commandIn[offset]) = *handles++; in CommandDispatcher()
424 *((TPM_HANDLE *)&(commandOut[offset])); in CommandDispatcher()
DSessionProcess.c65 TPM_HANDLE handle // IN: entity handle in IsDAExempted()
115 TPM_HANDLE handle = s_associatedHandles[sessionIndex]; in IncrementLockout()
116 TPM_HANDLE sessionHandle = s_sessionHandles[sessionIndex]; in IncrementLockout()
191 TPM_HANDLE associatedHandle, // IN: handle to be authorized in IsSessionBindEntity()
286 TPM_HANDLE handle, // IN: handle of entity in IsAuthValueAvailable()
421 TPM_HANDLE handle, // IN: handle of entity in IsAuthPolicyAvailable()
749 TPM_HANDLE associatedHandle = s_associatedHandles[sessionIndex]; in CheckPWAuthSession()
1365 TPM_HANDLE sessionHandle = s_sessionHandles[sessionIndex]; in CheckAuthSession()
1366 TPM_HANDLE associatedHandle = s_associatedHandles[sessionIndex]; in CheckAuthSession()
1870 TPM_HANDLE auditSession = TPM_RH_UNASSIGNED; in UpdateAuditSessionStatus()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/
DAC_spt.c80 TPM_HANDLE acHandle in AcIsAccessible()
137 TPM_HANDLE acHandle, // IN: Handle of AC receiving object in AcSendObject()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/
DAttest_spt.c62 TPM_HANDLE nullHandle = TPM_RH_NULL; in FillInAttestInfo()
63 attest->qualifiedSigner.t.size = sizeof(TPM_HANDLE); in FillInAttestInfo()

12