/system/tpm/trunks/ |
policy_session.h | 67 const std::string& pcr_value) = 0;
|
policy_session_impl.cc | 117 const std::string& pcr_value) { 129 if (pcr_value.empty()) { 136 pcr_digest = Make_TPM2B_DIGEST(crypto::SHA256HashString(pcr_value));
|
policy_session_impl.h | 38 // session.PolicyPCR(pcr_index, pcr_value); 60 TPM_RC PolicyPCR(uint32_t pcr_index, const std::string& pcr_value) override;
|
tpm_utility.h | 102 // in |pcr_value|. NOTE: it assumes we are using SHA256 as our hash alg. 103 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0; 246 // the policy is bound to a given |pcr_value| at |pcr_index|. If |pcr_value| 249 const std::string& pcr_value,
|
trunks_factory_for_test.cc | 170 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override { 171 return target_->ReadPCR(pcr_index, pcr_value); 303 const std::string& pcr_value, 305 return target_->GetPolicyDigestForPcrValue(pcr_index, pcr_value, 480 TPM_RC PolicyPCR(uint32_t pcr_index, const std::string& pcr_value) override { 481 return target_->PolicyPCR(pcr_index, pcr_value);
|
policy_session_test.cc | 162 TPM2B_DIGEST pcr_value; local 164 .WillOnce(DoAll(SaveArg<2>(&pcr_value), 175 EXPECT_EQ(StringFrom_TPM2B_DIGEST(pcr_value),
|
tpm_utility_impl.h | 59 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override; 122 const std::string& pcr_value,
|
tpm_utility_test.cc | 458 std::string pcr_value; local 471 EXPECT_EQ(TPM_RC_SUCCESS, utility_.ReadPCR(pcr_index, &pcr_value)); 475 std::string pcr_value; local 478 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); 482 std::string pcr_value; local 483 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value)); [all...] |
tpm_utility_impl.cc | 372 TPM_RC TpmUtilityImpl::ReadPCR(int pcr_index, std::string* pcr_value) { 405 pcr_value->assign(StringFrom_TPM2B_DIGEST(pcr_values.digests[0])); [all...] |
trunks_client_test.cc | 526 std::string pcr_value; local 527 result = utility->ReadPCR(pcr_index, &pcr_value); 535 next_pcr_value = crypto::SHA256HashString(pcr_value + hashed_extend_data); [all...] |
/system/tpm/tpm_manager/server/ |
tpm_nvram_impl.cc | 313 ScopedTssMemory pcr_value(tpm_connection_.GetContext()); 317 pcr_value.ptr()); 325 pcr_value.value());
|
/system/tpm/attestation/common/ |
tpm_utility_v1.cc | 306 ScopedTssMemory pcr_value(context_handle_); 307 Tspi_TPM_PcrRead(tpm_handle_, 0, &pcr_length, pcr_value.ptr()); 308 Tspi_PcrComposite_SetPcrValue(pcrs_handle, 0, pcr_length, pcr_value.value());
|