Home
last modified time | relevance | path

Searched refs:creation_blob (Results 1 – 8 of 8) sorted by relevance

/system/tpm/trunks/
Dblob_parser.cc74 std::string* creation_blob) { in SerializeCreationBlob() argument
75 CHECK(creation_blob) << "CreationBlob not defined."; in SerializeCreationBlob()
76 creation_blob->clear(); in SerializeCreationBlob()
77 TPM_RC result = Serialize_TPM2B_CREATION_DATA(creation_data, creation_blob); in SerializeCreationBlob()
82 result = Serialize_TPM2B_DIGEST(creation_hash, creation_blob); in SerializeCreationBlob()
87 result = Serialize_TPMT_TK_CREATION(creation_ticket, creation_blob); in SerializeCreationBlob()
96 bool BlobParser::ParseCreationBlob(const std::string& creation_blob, in ParseCreationBlob() argument
103 if (creation_blob.empty()) { in ParseCreationBlob()
106 std::string mutable_creation_blob = creation_blob; in ParseCreationBlob()
Dblob_parser.h51 std::string* creation_blob);
55 virtual bool ParseCreationBlob(const std::string& creation_blob,
Dtrunks_factory_for_test.cc202 const std::string& creation_blob) override { in CertifyCreation() argument
203 return target_->CertifyCreation(key_handle, creation_blob); in CertifyCreation()
234 std::string* creation_blob) override { in CreateRSAKeyPair() argument
238 creation_blob); in CreateRSAKeyPair()
518 std::string* creation_blob) override { in SerializeCreationBlob() argument
520 creation_ticket, creation_blob); in SerializeCreationBlob()
523 bool ParseCreationBlob(const std::string& creation_blob, in ParseCreationBlob() argument
527 return target_->ParseCreationBlob(creation_blob, creation_data, in ParseCreationBlob()
Dtpm_utility.h159 const std::string& creation_blob) = 0;
208 std::string* creation_blob) = 0;
Dtpm_utility_impl.h85 const std::string& creation_blob) override;
106 std::string* creation_blob) override;
Dtpm_utility_test.cc1039 std::string creation_blob; in TEST_F() local
1044 utility_.CertifyCreation(key_handle, creation_blob)); in TEST_F()
1049 std::string creation_blob; in TEST_F() local
1050 EXPECT_CALL(mock_blob_parser_, ParseCreationBlob(creation_blob, _, _, _)) in TEST_F()
1053 utility_.CertifyCreation(key_handle, creation_blob)); in TEST_F()
1058 std::string creation_blob; in TEST_F() local
1063 utility_.CertifyCreation(key_handle, creation_blob)); in TEST_F()
1240 std::string creation_blob; in TEST_F() local
1246 &mock_authorization_delegate_, &key_blob, &creation_blob)); in TEST_F()
1344 std::string creation_blob; in TEST_F() local
[all …]
Dtrunks_client_test.cc246 std::string creation_blob; in VerifyKeyCreationTest() local
251 kNoCreationPCR, session->GetDelegate(), &key_blob, &creation_blob); in VerifyKeyCreationTest()
280 result = utility->CertifyCreation(certify_key.get(), creation_blob); in VerifyKeyCreationTest()
285 result = utility->CertifyCreation(alternate_key.get(), creation_blob); in VerifyKeyCreationTest()
Dtpm_utility_impl.cc668 const std::string& creation_blob) { in CertifyCreation() argument
673 creation_blob, &creation_data, &creation_hash, &creation_ticket)) { in CertifyCreation()
837 std::string* creation_blob) { in CreateRSAKeyPair() argument
916 if (creation_blob) { in CreateRSAKeyPair()
918 creation_data, creation_hash, creation_ticket, creation_blob)) { in CreateRSAKeyPair()