Home
last modified time | relevance | path

Searched refs:sessionIndex (Results 1 – 2 of 2) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c112 UINT32 sessionIndex in IncrementLockout() argument
115 TPM_HANDLE handle = s_associatedHandles[sessionIndex]; in IncrementLockout()
116 TPM_HANDLE sessionHandle = s_sessionHandles[sessionIndex]; in IncrementLockout()
229 UINT32 sessionIndex // IN: session index in IsPolicySessionRequired() argument
232 AUTH_ROLE role = CommandAuthRole(commandIndex, sessionIndex); in IsPolicySessionRequired()
233 TPM_HT type = HandleGetType(s_associatedHandles[sessionIndex]); in IsPolicySessionRequired()
245 OBJECT *object = HandleToObject(s_associatedHandles[sessionIndex]); in IsPolicySessionRequired()
256 if(PCRPolicyIsAvailable(s_associatedHandles[sessionIndex])) in IsPolicySessionRequired()
260 policyAlg = PCRGetAuthPolicy(s_associatedHandles[sessionIndex], in IsPolicySessionRequired()
288 UINT32 sessionIndex // IN: session index in IsAuthValueAvailable() argument
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c355 CONTEXT_SLOT sessionIndex; in SessionGet() local
367 sessionIndex = gr.contextArray[slotIndex] - 1; in SessionGet()
369 pAssert(sessionIndex < MAX_LOADED_SESSIONS); in SessionGet()
371 return &s_sessions[sessionIndex].session; in SessionGet()
399 UINT32 sessionIndex // IN: The session context array entry that will in ContextIdSessionCreate() argument
403 pAssert(sessionIndex < MAX_LOADED_SESSIONS); in ContextIdSessionCreate()
430 gr.contextArray[*handle] = (CONTEXT_SLOT)(sessionIndex + 1); in ContextIdSessionCreate()