Home
last modified time | relevance | path

Searched refs:ReadPCR (Results 1 – 12 of 12) sorted by relevance

/system/tpm/trunks/
Dtrunks_client.cc137 int ReadPCR(const TrunksFactory& factory, int index) { in ReadPCR() function
140 trunks::TPM_RC result = tpm_utility->ReadPCR(index, &value); in ReadPCR()
271 return ReadPCR(factory, atoi(cl->GetSwitchValueASCII("index").c_str())); in main()
Dmock_tpm_utility.h47 MOCK_METHOD2(ReadPCR, TPM_RC(int, std::string*));
Dtpm_utility.h100 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0;
Dtpm_utility_impl.h59 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override;
Dtrunks_factory_for_test.cc157 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override { in ReadPCR() function in trunks::TpmUtilityForwarder
158 return target_->ReadPCR(pcr_index, pcr_value); in ReadPCR()
Dtrunks_client_test.cc370 TPM_RC result = utility->ReadPCR(pcr_index, &old_data); in PCRTest()
381 result = utility->ReadPCR(pcr_index, &pcr_data); in PCRTest()
521 result = utility->ReadPCR(pcr_index, &pcr_value); in PolicyAndTest()
Dtpm_utility_test.cc451 EXPECT_EQ(TPM_RC_SUCCESS, utility_.ReadPCR(pcr_index, &pcr_value)); in TEST_F()
458 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); in TEST_F()
463 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); in TEST_F()
Dtpm_utility_impl.cc372 TPM_RC TpmUtilityImpl::ReadPCR(int pcr_index, std::string* pcr_value) { in ReadPCR() function in trunks::TpmUtilityImpl
1120 result = ReadPCR(pcr_index, &mutable_pcr_value); in GetPolicyDigestForPcrValue()
/system/tpm/tpm_manager/server/
Dtpm2_initializer_test.cc144 EXPECT_CALL(mock_tpm_utility_, ReadPCR(_, _)) in TEST_F()
155 EXPECT_CALL(mock_tpm_utility_, ReadPCR(_, _)) in TEST_F()
161 EXPECT_CALL(mock_tpm_utility_, ReadPCR(_, _)) in TEST_F()
Dtpm2_initializer_impl.cc125 TPM_RC result = tpm_utility->ReadPCR(pcr, &value); in VerifiedBootHelper()
Dtpm2_nvram_test.cc139 EXPECT_CALL(mock_tpm_utility_, ReadPCR(0, _)) in SetupExistingSpace()
236 EXPECT_CALL(mock_tpm_utility_, ReadPCR(0, _)) in TEST_F()
Dtpm2_nvram_impl.cc545 result = trunks_utility_->ReadPCR(0, &current_pcr_value); in AddPoliciesForCommand()