Searched defs:pcr_value (Results 1 - 5 of 5) sorted by relevance
/system/tpm/trunks/ |
H A D | policy_session_test.cc | 160 TPM2B_DIGEST pcr_value; local 162 .WillOnce(DoAll(SaveArg<2>(&pcr_value), SaveArg<3>(&pcr_select), 172 EXPECT_EQ(StringFrom_TPM2B_DIGEST(pcr_value),
|
H A D | policy_session_impl.cc | 113 const std::string& pcr_value) { 125 if (pcr_value.empty()) { 132 pcr_digest = Make_TPM2B_DIGEST(crypto::SHA256HashString(pcr_value)); 112 PolicyPCR(uint32_t pcr_index, const std::string& pcr_value) argument
|
H A D | tpm_utility_test.cc | 439 std::string pcr_value; local 451 EXPECT_EQ(TPM_RC_SUCCESS, utility_.ReadPCR(pcr_index, &pcr_value)); 455 std::string pcr_value; local 458 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); 462 std::string pcr_value; local 463 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); 1518 std::string pcr_value("pcr_value"); 1527 pcr_values.digests[0] = Make_TPM2B_DIGEST(pcr_value); 1541 EXPECT_EQ(pcr_value, tpm_pcr_valu [all...] |
H A D | trunks_client_test.cc | 522 std::string pcr_value; local 523 result = utility->ReadPCR(pcr_index, &pcr_value); 531 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data);
|
H A D | tpm_utility_impl.cc | 372 TPM_RC TpmUtilityImpl::ReadPCR(int pcr_index, std::string* pcr_value) { argument 403 pcr_value->assign(StringFrom_TPM2B_DIGEST(pcr_values.digests[0])); 1108 const std::string& pcr_value, 1119 if (pcr_value.empty()) { 1123 << ": Error reading pcr_value: " << GetErrorString(result); 1127 mutable_pcr_value = pcr_value; 1107 GetPolicyDigestForPcrValue(int pcr_index, const std::string& pcr_value, std::string* policy_digest) argument
|
Completed in 97 milliseconds