Searched refs:tpm (Results 1 - 6 of 6) sorted by relevance
/system/tpm/trunks/ |
H A D | tpm_generated_test.cc | 110 Tpm tpm(&transceiver); 111 EXPECT_EQ(TPM_RC_SUCCESS, tpm.StartupSync(TPM_SU_CLEAR, &authorization)); 131 Tpm tpm(&transceiver); 132 EXPECT_EQ(TPM_RC_FAILURE, tpm.StartupSync(TPM_SU_CLEAR, &authorization)); 231 Tpm tpm(&transceiver); 232 TPM_RC rc = tpm.CreatePrimarySync(trunks::TPM_RH_NULL, 341 Tpm tpm(&transceiver); 343 tpm.Startup(TPM_SU_CLEAR, 368 Tpm tpm(&transceiver); 369 tpm [all...] |
H A D | trunks_factory_for_test.h | 76 void set_tpm(Tpm* tpm) { argument 77 tpm_ = tpm;
|
H A D | session_manager_impl.cc | 67 LOG(WARNING) << "Error closing tpm session: " << GetErrorString(result); 100 // The tpm returns the tpm_nonce and the session_handle referencing the 116 Tpm* tpm = factory_.GetTpm(); local 120 TPM_RC tpm_result = tpm->StartAuthSessionSync(kSaltingKey,
|
H A D | tpm_utility_impl.cc | 84 Tpm* tpm = factory_.GetTpm(); local 85 result = tpm->StartupSync(TPM_SU_CLEAR, nullptr); 91 result = tpm->SelfTestSync(YES /* Full test. */, nullptr); 341 LOG(ERROR) << "Error getting random data from tpm."; 1493 Tpm* tpm = factory_.GetTpm(); local 1522 result = tpm->CreatePrimarySync(TPM_RH_OWNER, 1541 result = tpm->EvictControlSync(TPM_RH_OWNER, 1575 result = tpm->CreatePrimarySync(TPM_RH_OWNER, 1594 result = tpm->EvictControlSync(TPM_RH_OWNER,
|
/system/tpm/attestation/common/ |
H A D | tpm_utility_v1.cc | 47 const char* kTpmTpmEnabledFile = "/sys/class/tpm/tpm0/device/enabled"; 49 const char* kTpmTpmOwnedFile = "/sys/class/tpm/tpm0/device/owned"; 510 bool TpmUtilityV1::ConnectContext(ScopedTssContext* context, TSS_HTPM* tpm) { argument 511 *tpm = 0; 522 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(*context, tpm))) { 533 TSS_HTPM* tpm) { 534 *tpm = 0; 535 if (!ConnectContext(context, tpm)) { 540 if (TPM_ERROR(result = Tspi_GetPolicyObject(*tpm, 530 ConnectContextAsDelegate(const std::string& delegate_blob, const std::string& delegate_secret, ScopedTssContext* context, TSS_HTPM* tpm) argument
|
H A D | tpm_utility_v1.h | 80 TSS_HTPM* tpm);
|
Completed in 390 milliseconds