/system/tpm/trunks/ |
D | policy_session_impl.cc | 79 TPM2B_DIGEST policy_digest; in GetDigest() local 83 &policy_digest, in GetDigest() 89 *digest = StringFrom_TPM2B_DIGEST(policy_digest); in GetDigest()
|
D | tpm_utility.h | 206 const std::string& policy_digest, 231 const std::string& policy_digest, 250 std::string* policy_digest) = 0;
|
D | tpm_utility_impl.h | 101 const std::string& policy_digest, 114 const std::string& policy_digest, 123 std::string* policy_digest) override;
|
D | trunks_factory_for_test.cc | 256 const std::string& policy_digest, in CreateRSAKeyPair() argument 263 password, policy_digest, in CreateRSAKeyPair() 285 const std::string& policy_digest, in SealData() argument 288 return target_->SealData(data_to_seal, policy_digest, in SealData() 304 std::string* policy_digest) override { in GetPolicyDigestForPcrValue() argument 306 policy_digest); in GetPolicyDigestForPcrValue()
|
D | trunks_client_test.cc | 305 std::string policy_digest; in SealedDataTest() local 307 &policy_digest); in SealedDataTest() 314 result = utility->SealData(data_to_seal, policy_digest, in SealedDataTest() 415 std::string policy_digest; in PolicyAuthValueTest() local 416 result = trial_session->GetDigest(&policy_digest); in PolicyAuthValueTest() 434 "password", policy_digest, true, // use_only_policy_authorization in PolicyAuthValueTest() 542 std::string policy_digest; in PolicyAndTest() local 543 result = trial_session->GetDigest(&policy_digest); in PolicyAndTest() 563 key_authorization, policy_digest, true, // use_only_policy_authorization in PolicyAndTest() 722 std::string policy_digest; in PolicyOrTest() local [all …]
|
D | policy_session_test.cc | 106 TPM2B_DIGEST policy_digest; in TEST_F() local 107 policy_digest.size = SHA256_DIGEST_SIZE; in TEST_F() 109 .WillOnce(DoAll(SetArgPointee<2>(policy_digest), in TEST_F()
|
D | tpm_utility_test.cc | 1424 std::string policy_digest(32, 'a'); in TEST_F() local 1428 policy_digest, true /* use_only_policy_authorization */, kNoCreationPCR, in TEST_F() 1439 EXPECT_EQ(public_area.public_area.auth_policy.size, policy_digest.size()); in TEST_F() 1441 policy_digest.data(), policy_digest.size())); in TEST_F() 1646 std::string policy_digest; in TEST_F() local 1668 utility_.GetPolicyDigestForPcrValue(index, "", &policy_digest)); in TEST_F() 1669 EXPECT_EQ(policy_digest, tpm_policy_digest); in TEST_F() 1676 std::string policy_digest; in TEST_F() local 1686 utility_.GetPolicyDigestForPcrValue(index, pcr_value, &policy_digest)); in TEST_F() 1687 EXPECT_EQ(policy_digest, tpm_policy_digest); in TEST_F() [all …]
|
D | tpm_utility_impl.cc | 859 const std::string& policy_digest, in CreateRSAKeyPair() argument 881 public_area.auth_policy = Make_TPM2B_DIGEST(policy_digest); in CreateRSAKeyPair() 895 if (use_only_policy_authorization && !policy_digest.empty()) { in CreateRSAKeyPair() 1035 const std::string& policy_digest, in SealData() argument 1056 public_area.auth_policy = Make_TPM2B_DIGEST(policy_digest); in SealData() 1145 std::string* policy_digest) { in GetPolicyDigestForPcrValue() argument 1146 CHECK(policy_digest); in GetPolicyDigestForPcrValue() 1170 result = session->GetDigest(policy_digest); in GetPolicyDigestForPcrValue()
|
D | mock_tpm.h | 813 const TPMI_ALG_HASH& policy_digest, 822 const TPMI_ALG_HASH& policy_digest, 1127 TPM2B_DIGEST* policy_digest,
|
D | tpm_generated.h | 5191 const TPMI_ALG_HASH& policy_digest, 5203 const TPMI_ALG_HASH& policy_digest, 5212 const TPMI_ALG_HASH& policy_digest, 5699 const TPM2B_DIGEST& policy_digest)> PolicyGetDigestResponse; 5707 TPM2B_DIGEST* policy_digest, 5717 TPM2B_DIGEST* policy_digest,
|
D | tpm_generated.cc | 24626 const TPMI_ALG_HASH& policy_digest, in SerializeCommand_PCR_SetAuthPolicy() argument 24661 policy_digest, in SerializeCommand_PCR_SetAuthPolicy() 24866 const TPMI_ALG_HASH& policy_digest, in PCR_SetAuthPolicy() argument 24883 policy_digest, in PCR_SetAuthPolicy() 24899 const TPMI_ALG_HASH& policy_digest, in PCR_SetAuthPolicySync() argument 24909 policy_digest, in PCR_SetAuthPolicySync() 30173 TPM2B_DIGEST* policy_digest, in ParseResponse_PolicyGetDigest() argument 30255 policy_digest, in ParseResponse_PolicyGetDigest() 30270 policy_digest, in ParseResponse_PolicyGetDigest() 30294 TPM2B_DIGEST policy_digest; in PolicyGetDigestResponseParser() local [all …]
|