Home
last modified time | relevance | path

Searched refs:tpm_utility_ (Results 1 – 6 of 6) sorted by relevance

/system/tpm/attestation/server/
Dattestation_service.cc55 if (!tpm_utility_) { in Initialize()
60 tpm_utility_ = default_tpm_utility_.get(); in Initialize()
63 default_crypto_utility_.reset(new CryptoUtilityImpl(tpm_utility_)); in Initialize()
247 if (!tpm_utility_->GetEndorsementPublicKey(&public_key)) { in GetEndorsementInfoTask()
352 if (!tpm_utility_->ActivateIdentity( in ActivateAttestationKeyTask()
437 if (!tpm_utility_->Unbind(key.key_blob(), request.encrypted_data(), &data)) { in DecryptTask()
468 if (!tpm_utility_->Sign(key.key_blob(), request.data_to_sign(), &signature)) { in SignTask()
524 if (!tpm_utility_->IsTpmReady()) { in IsPreparedForEnrollment()
565 if (!tpm_utility_->IsTpmReady()) { in FinishEnroll()
581 if (!tpm_utility_->ActivateIdentity( in FinishEnroll()
[all …]
Dattestation_service.h113 tpm_utility_ = tpm_utility; in set_tpm_utility()
289 TpmUtility* tpm_utility_{nullptr};
/system/tpm/trunks/
Dtrunks_factory_for_test.h85 tpm_utility_ = tpm_utility; in set_tpm_utility()
114 TpmUtility* tpm_utility_; variable
Dtrunks_factory_for_test.cc544 tpm_utility_(default_tpm_utility_.get()), in TrunksFactoryForTest()
568 return scoped_ptr<TpmUtility>(new TpmUtilityForwarder(tpm_utility_)); in GetTpmUtility()
/system/tpm/attestation/common/
Dcrypto_utility_impl.h95 TpmUtility* tpm_utility_; variable
Dcrypto_utility_impl.cc61 : tpm_utility_(tpm_utility) { in CryptoUtilityImpl()
88 if (!tpm_utility_->SealToPCR0(*aes_key, sealed_key)) { in CreateSealedKey()
130 if (!tpm_utility_->Unseal(*sealed_key, aes_key)) { in UnsealKey()