Lines Matching refs:TPM_HANDLE
34 const trunks::TPM_HANDLE kMaxVirtualHandle =
125 std::vector<TPM_HANDLE> updated_handles; in SendCommandAndWait()
127 TPM_HANDLE tpm_handle; in SendCommandAndWait()
194 std::vector<TPM_HANDLE> virtual_handles; in SendCommandAndWait()
204 const std::vector<TPM_HANDLE>& sessions_to_retain, in ChooseSessionToEvict()
205 TPM_HANDLE* session_to_evict) { in ChooseSessionToEvict()
207 std::vector<TPM_HANDLE> candidates; in ChooseSessionToEvict()
224 [this](TPM_HANDLE a, TPM_HANDLE b) { in ChooseSessionToEvict()
232 void ResourceManager::CleanupFlushedHandle(TPM_HANDLE flushed_handle) { in CleanupFlushedHandle()
261 TPM_HANDLE ResourceManager::CreateVirtualHandle() { in CreateVirtualHandle()
262 TPM_HANDLE handle; in CreateVirtualHandle()
275 TPM_HANDLE session_handle) { in EnsureSessionIsLoaded()
323 TPM_HANDLE session_to_evict; in EvictSession()
335 std::vector<TPM_HANDLE> ResourceManager::ExtractHandlesFromBuffer( in ExtractHandlesFromBuffer()
338 std::vector<TPM_HANDLE> handles(number_of_handles); in ExtractHandlesFromBuffer()
340 TPM_HANDLE handle; in ExtractHandlesFromBuffer()
349 std::vector<TPM_HANDLE> sessions_to_ungap; in FixContextGap()
358 [this](TPM_HANDLE a, TPM_HANDLE b) { in FixContextGap()
433 TPM_HANDLE session_to_flush; in FlushSession()
456 bool ResourceManager::IsObjectHandle(TPM_HANDLE handle) const { in IsObjectHandle()
460 bool ResourceManager::IsSessionHandle(TPM_HANDLE handle) const { in IsSessionHandle()
546 TPM_HANDLE handle; in ParseCommand()
662 TPM_HANDLE saved_handle = command_info.handles[0]; in ProcessExternalContextSave()
701 std::vector<TPM_HANDLE> handles = ExtractHandlesFromBuffer(1, &buffer); in ProcessFlushContext()
705 TPM_HANDLE handle = handles[0]; in ProcessFlushContext()
706 TPM_HANDLE actual_handle = handle; in ProcessFlushContext()
742 TPM_HANDLE virtual_handle, in ProcessInputHandle()
743 TPM_HANDLE* actual_handle) { in ProcessInputHandle()
768 TPM_HANDLE ResourceManager::ProcessOutputHandle(TPM_HANDLE handle) { in ProcessOutputHandle()
786 TPM_HANDLE new_virtual_handle = CreateVirtualHandle(); in ProcessOutputHandle()
802 const std::vector<TPM_HANDLE>& new_handles) { in ReplaceHandles()
845 void ResourceManager::HandleInfo::Init(TPM_HANDLE handle) { in Init()