Home
last modified time | relevance | path

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

/system/tpm/attestation/server/
Dattestation_service.cc54 if (!tpm_utility_) { in Initialize()
59 tpm_utility_ = default_tpm_utility_.get(); in Initialize()
62 default_crypto_utility_.reset(new CryptoUtilityImpl(tpm_utility_)); in Initialize()
222 if (!tpm_utility_->GetEndorsementPublicKey(&public_key)) { in GetEndorsementInfoTask()
319 if (!tpm_utility_->ActivateIdentity( in ActivateAttestationKeyTask()
393 if (!tpm_utility_->Unbind(key.key_blob(), request.encrypted_data(), &data)) { in DecryptTask()
419 if (!tpm_utility_->Sign(key.key_blob(), request.data_to_sign(), &signature)) { in SignTask()
470 if (!tpm_utility_->IsTpmReady()) { in IsPreparedForEnrollment()
511 if (!tpm_utility_->IsTpmReady()) { in FinishEnroll()
527 if (!tpm_utility_->ActivateIdentity( in FinishEnroll()
[all …]
Dattestation_service.h108 void set_tpm_utility(TpmUtility* tpm_utility) { tpm_utility_ = tpm_utility; } in set_tpm_utility()
278 TpmUtility* tpm_utility_{nullptr};
/system/tpm/trunks/
Dtrunks_factory_for_test.h80 void set_tpm_utility(TpmUtility* tpm_utility) { tpm_utility_ = tpm_utility; } in set_tpm_utility()
110 TpmUtility* tpm_utility_; variable
Dtrunks_factory_for_test.cc541 tpm_utility_(default_tpm_utility_.get()), in TrunksFactoryForTest()
566 return base::MakeUnique<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()