Home
last modified time | relevance | path

Searched refs:GetTpmUtility (Results 1 – 10 of 10) sorted by relevance

/system/tpm/trunks/
Dtrunks_client.cc68 factory.GetTpmUtility()->Shutdown(); in Startup()
69 return factory.GetTpmUtility()->Startup(); in Startup()
73 return factory.GetTpmUtility()->Clear(); in Clear()
77 return factory.GetTpmUtility()->InitializeTpm(); in InitializeTpm()
82 result = factory.GetTpmUtility()->AllocatePCR(""); in AllocatePCR()
87 factory.GetTpmUtility()->Shutdown(); in AllocatePCR()
88 return factory.GetTpmUtility()->Startup(); in AllocatePCR()
94 rc = factory.GetTpmUtility()->TakeOwnership(owner_password, owner_password, in TakeOwnership()
138 std::unique_ptr<trunks::TpmUtility> tpm_utility = factory.GetTpmUtility(); in ReadPCR()
152 std::unique_ptr<trunks::TpmUtility> tpm_utility = factory.GetTpmUtility(); in ExtendPCR()
Dtrunks_client_test.cc71 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in RNGTest()
100 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in SignTest()
141 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in DecryptTest()
168 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in ImportTest()
198 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in AuthChangeTest()
239 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in VerifyKeyCreationTest()
294 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in SealedDataTest()
360 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in PCRTest()
397 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in PolicyAuthValueTest()
506 std::unique_ptr<TpmUtility> utility = factory_.GetTpmUtility(); in PolicyAndTest()
[all …]
Dtrunks_factory.h53 virtual std::unique_ptr<TpmUtility> GetTpmUtility() const = 0;
Dtrunks_factory_impl.h56 std::unique_ptr<TpmUtility> GetTpmUtility() const override;
Dtrunks_factory_impl.cc78 std::unique_ptr<TpmUtility> TrunksFactoryImpl::GetTpmUtility() const { in GetTpmUtility() function in trunks::TrunksFactoryImpl
Dtrunks_factory_for_test.h66 std::unique_ptr<TpmUtility> GetTpmUtility() const override;
Dtrunks_factory_for_test.cc565 std::unique_ptr<TpmUtility> TrunksFactoryForTest::GetTpmUtility() const { in GetTpmUtility() function in trunks::TrunksFactoryForTest
Dresource_manager.cc66 std::unique_ptr<TpmUtility> tpm_utility = factory_.GetTpmUtility(); in Initialize()
/system/tpm/tpm_manager/server/
Dtpm2_initializer_impl.cc108 TPM_RC result = trunks_factory_.GetTpmUtility()->TakeOwnership( in InitializeTpm()
121 trunks_factory_.GetTpmUtility(); in VerifiedBootHelper()
163 trunks_factory_.GetTpmUtility(); in ResetDictionaryAttackLock()
179 TPM_RC result = trunks_factory_.GetTpmUtility()->StirRandom( in SeedTpmRng()
189 TPM_RC result = trunks_factory_.GetTpmUtility()->GenerateRandom( in GetTpmRandomData()
Dtpm2_nvram_impl.cc135 trunks_utility_(trunks_factory_.GetTpmUtility()) {} in Tpm2NvramImpl()