Home
last modified time | relevance | path

Searched refs:GetTpm (Results 1 – 16 of 16) sorted by relevance

/system/tpm/trunks/
Dpolicy_session_impl.cc80 TPM_RC result = factory_.GetTpm()->PolicyGetDigestSync( in GetDigest()
103 TPM_RC result = factory_.GetTpm()->PolicyORSync( in PolicyOR()
139 TPM_RC result = factory_.GetTpm()->PolicyPCRSync( in PolicyPCR()
153 TPM_RC result = factory_.GetTpm()->PolicyCommandCodeSync( in PolicyCommandCode()
167 TPM_RC result = factory_.GetTpm()->PolicyAuthValueSync( in PolicyAuthValue()
Dtpm_utility_impl.cc84 Tpm* tpm = factory_.GetTpm(); in Startup()
103 result = factory_.GetTpm()->ClearSync(TPM_RH_PLATFORM, in Clear()
111 result = factory_.GetTpm()->ClearSync(TPM_RH_PLATFORM, in Clear()
127 TPM_RC return_code = factory_.GetTpm()->ShutdownSync(TPM_SU_CLEAR, nullptr); in Shutdown()
186 result = factory_.GetTpm()->GetCapabilitySync( in AllocatePCR()
229 result = factory_.GetTpm()->PCR_AllocateSync(TPM_RH_PLATFORM, in AllocatePCR()
325 return factory_.GetTpm()->StirRandomSync(random_bytes, delegate); in StirRandom()
337 rc = factory_.GetTpm()->GetRandomSync(bytes_left, in GenerateRandom()
366 return factory_.GetTpm()->PCR_ExtendSync(pcr_handle, in ExtendPCR()
387 TPM_RC rc = factory_.GetTpm()->PCR_ReadSync(pcr_select_in, in ReadPCR()
[all …]
Dsession_manager_impl.cc65 TPM_RC result = factory_.GetTpm()->FlushContextSync(session_handle_, nullptr); in CloseSession()
116 Tpm* tpm = factory_.GetTpm(); in StartSession()
157 TPM_RC result = factory_.GetTpm()->ReadPublicSync( in EncryptSalt()
Dtpm_state_impl.cc91 result = factory_.GetTpm()->GetCapabilitySync(TPM_CAP_ALGS, in Initialize()
110 result = factory_.GetTpm()->GetCapabilitySync(TPM_CAP_ALGS, in Initialize()
225 TPM_RC result = factory_.GetTpm()->GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in GetTpmProperty()
Dtrunks_factory.h48 virtual Tpm* GetTpm() const = 0;
Dtrunks_factory_impl.h47 Tpm* GetTpm() const override;
Dresource_manager.cc65 TPM_RC result = factory_.GetTpm()->StartupSync(TPM_SU_CLEAR, nullptr); in Initialize()
69 result = factory_.GetTpm()->SelfTestSync(YES /* Full test. */, nullptr); in Initialize()
81 result = factory_.GetTpm()->GetCapabilitySync(TPM_CAP_HANDLES, in Initialize()
94 factory_.GetTpm()->FlushContextSync(handle_list.handle[i], nullptr); in Initialize()
311 result = factory_.GetTpm()->FlushContextSync(info.tpm_handle, nullptr); in EvictObjects()
438 TPM_RC result = factory_.GetTpm()->FlushContextSync(session_to_flush, in FlushSession()
471 result = factory_.GetTpm()->ContextLoadSync(handle_info->context, in LoadContext()
821 result = factory_.GetTpm()->ContextSaveSync(handle_info->tpm_handle, in SaveContext()
Dscoped_key_handle.cc74 result = factory_.GetTpm()->FlushContextSync(handle, nullptr); in FlushHandleContext()
Dtrunks_factory_impl.cc61 Tpm* TrunksFactoryImpl::GetTpm() const { in GetTpm() function in trunks::TrunksFactoryImpl
Dtrunks_factory_for_test.h64 Tpm* GetTpm() const override;
Dtrunks_factory_for_test.cc559 Tpm* TrunksFactoryForTest::GetTpm() const { in GetTpm() function in trunks::TrunksFactoryForTest
/system/tpm/tpm_manager/server/
Dtpm_connection.cc44 TSS_HTPM TpmConnection::GetTpm() { in GetTpm() function in tpm_manager::TpmConnection
59 TSS_HTPM tpm_handle = GetTpm(); in GetTpmWithAuth()
Dtpm_connection.h38 TSS_HTPM GetTpm();
Dtpm_nvram_impl.cc171 TSS_RESULT result = Tspi_TPM_GetCapability(tpm_connection_.GetTpm(), in IsNvramDefined()
199 TSS_RESULT result = Tspi_TPM_GetCapability(tpm_connection_.GetTpm(), in IsNvramLocked()
225 TSS_RESULT result = Tspi_TPM_GetCapability(tpm_connection_.GetTpm(), in GetNvramSize()
Dtpm_status_impl.cc95 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); in GetCapability()
Dtpm_initializer_impl.cc53 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); in InitializeTpm()