Searched defs:tpm (Results 1 - 4 of 4) sorted by relevance

/system/tpm/trunks/
H A Dsession_manager_impl.cc68 LOG(WARNING) << "Error closing tpm session: " << GetErrorString(result);
101 // The tpm returns the tpm_nonce and the session_handle referencing the
117 Tpm* tpm = factory_.GetTpm(); local
121 TPM_RC tpm_result = tpm->StartAuthSessionSync(
H A Dtrunks_factory_for_test.h76 void set_tpm(Tpm* tpm) { tpm_ = tpm; } argument
H A Dtpm_utility_impl.cc84 Tpm* tpm = factory_.GetTpm(); local
85 result = tpm->StartupSync(TPM_SU_CLEAR, nullptr);
91 result = tpm->SelfTestSync(YES /* Full test. */, nullptr);
339 LOG(ERROR) << __func__ << ": Error getting random data from tpm.";
1509 Tpm* tpm = factory_.GetTpm(); local
1537 result = tpm->CreatePrimarySync(
1549 result = tpm->EvictControlSync(TPM_RH_OWNER, NameFromHandle(TPM_RH_OWNER),
1580 result = tpm->CreatePrimarySync(
1592 result = tpm->EvictControlSync(TPM_RH_OWNER, NameFromHandle(TPM_RH_OWNER),
/system/tpm/attestation/common/
H A Dtpm_utility_v1.cc47 const char* kTpmTpmEnabledFile = "/sys/class/tpm/tpm0/device/enabled";
49 const char* kTpmTpmOwnedFile = "/sys/class/tpm/tpm0/device/owned";
473 bool TpmUtilityV1::ConnectContext(ScopedTssContext* context, TSS_HTPM* tpm) { argument
474 *tpm = 0;
485 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(*context, tpm))) {
496 TSS_HTPM* tpm) {
497 *tpm = 0;
498 if (!ConnectContext(context, tpm)) {
503 if (TPM_ERROR(result = Tspi_GetPolicyObject(*tpm, TSS_POLICY_USAGE,
493 ConnectContextAsDelegate(const std::string& delegate_blob, const std::string& delegate_secret, ScopedTssContext* context, TSS_HTPM* tpm) argument

Completed in 194 milliseconds