Home
last modified time | relevance | path

Searched refs:TpmUtility (Results 1 – 17 of 17) sorted by relevance

/system/tpm/trunks/
Dtrunks_factory_for_test.h46 class TpmUtility; variable
66 scoped_ptr<TpmUtility> GetTpmUtility() const override;
84 void set_tpm_utility(TpmUtility* tpm_utility) { in set_tpm_utility()
114 TpmUtility* tpm_utility_;
Dtrunks_client_test.cc71 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in RNGTest()
100 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in SignTest()
109 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, in SignTest()
141 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in DecryptTest()
150 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in DecryptTest()
169 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in ImportTest()
181 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, modulus, 0x10001, in ImportTest()
199 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in AuthChangeTest()
208 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in AuthChangeTest()
241 scoped_ptr<TpmUtility> utility = factory_->GetTpmUtility(); in VerifyKeyCreationTest()
[all …]
Dtrunks_factory.h37 class TpmUtility; variable
54 virtual scoped_ptr<TpmUtility> GetTpmUtility() const = 0;
Dtpm_utility.h40 class TRUNKS_EXPORT TpmUtility {
48 TpmUtility() {} in TpmUtility() function
49 virtual ~TpmUtility() {} in ~TpmUtility()
299 DISALLOW_COPY_AND_ASSIGN(TpmUtility);
Dtrunks_factory_impl.cc69 scoped_ptr<TpmUtility> TrunksFactoryImpl::GetTpmUtility() const { in GetTpmUtility()
70 return scoped_ptr<TpmUtility>(new TpmUtilityImpl(*this)); in GetTpmUtility()
Dtrunks_factory_impl.h49 scoped_ptr<TpmUtility> GetTpmUtility() const override;
Dtrunks_factory_for_test.cc120 class TpmUtilityForwarder : public TpmUtility {
122 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} in TpmUtilityForwarder()
350 TpmUtility* target_;
567 scoped_ptr<TpmUtility> TrunksFactoryForTest::GetTpmUtility() const { in GetTpmUtility()
568 return scoped_ptr<TpmUtility>(new TpmUtilityForwarder(tpm_utility_)); in GetTpmUtility()
Dmock_tpm_utility.h28 class MockTpmUtility : public TpmUtility {
Dtpm_utility_test.cc1251 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1307 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1324 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1340 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1357 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1379 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, 2048, 0x10001, in TEST_F()
1405 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, "password", in TEST_F()
1427 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, key_auth, in TEST_F()
1450 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, "password", in TEST_F()
1461 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, "password", in TEST_F()
[all …]
Dtpm_utility_impl.h37 class TRUNKS_EXPORT TpmUtilityImpl : public TpmUtility {
/system/tpm/attestation/common/
Dtpm_utility.h27 class TpmUtility {
29 virtual ~TpmUtility() = default;
Dcrypto_utility_impl.h34 explicit CryptoUtilityImpl(TpmUtility* tpm_utility);
95 TpmUtility* tpm_utility_;
Dmock_tpm_utility.h28 class MockTpmUtility : public TpmUtility {
Dtpm_utility_v1.h31 class TpmUtilityV1 : public TpmUtility {
Dcrypto_utility_impl.cc60 CryptoUtilityImpl::CryptoUtilityImpl(TpmUtility* tpm_utility) in CryptoUtilityImpl()
/system/tpm/tpm_manager/server/
Dtpm2_nvram_impl.h69 scoped_ptr<trunks::TpmUtility> trunks_utility_;
/system/tpm/attestation/server/
Dattestation_service.h112 void set_tpm_utility(TpmUtility* tpm_utility) { in set_tpm_utility()
289 TpmUtility* tpm_utility_{nullptr};