Searched refs:ReadPCR (Results 1 – 12 of 12) sorted by relevance
/system/tpm/trunks/ |
D | trunks_client.cc | 137 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()
|
D | mock_tpm_utility.h | 47 MOCK_METHOD2(ReadPCR, TPM_RC(int, std::string*));
|
D | tpm_utility.h | 100 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0;
|
D | tpm_utility_impl.h | 59 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override;
|
D | trunks_factory_for_test.cc | 157 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()
|
D | trunks_client_test.cc | 370 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()
|
D | tpm_utility_test.cc | 451 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()
|
D | tpm_utility_impl.cc | 372 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/ |
D | tpm2_initializer_test.cc | 144 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()
|
D | tpm2_initializer_impl.cc | 125 TPM_RC result = tpm_utility->ReadPCR(pcr, &value); in VerifiedBootHelper()
|
D | tpm2_nvram_test.cc | 139 EXPECT_CALL(mock_tpm_utility_, ReadPCR(0, _)) in SetupExistingSpace() 236 EXPECT_CALL(mock_tpm_utility_, ReadPCR(0, _)) in TEST_F()
|
D | tpm2_nvram_impl.cc | 545 result = trunks_utility_->ReadPCR(0, ¤t_pcr_value); in AddPoliciesForCommand()
|