Home
last modified time | relevance | path

Searched refs:sealed_data (Results 1 – 9 of 9) sorted by relevance

/system/tpm/attestation/common/
Dtpm_utility.h70 std::string* sealed_data) = 0;
74 virtual bool Unseal(const std::string& sealed_data, std::string* data) = 0;
Dtpm_utility_v1.h57 bool SealToPCR0(const std::string& data, std::string* sealed_data) override;
58 bool Unseal(const std::string& sealed_data, std::string* data) override;
Dtpm_utility_v1.cc269 std::string* sealed_data) { in SealToPCR0() argument
270 CHECK(sealed_data); in SealToPCR0()
321 sealed_data->assign( in SealToPCR0()
326 bool TpmUtilityV1::Unseal(const std::string& sealed_data, std::string* data) { in Unseal() argument
344 std::string mutable_sealed_data(sealed_data); in Unseal()
348 TSS_TSPATTRIB_ENCDATABLOB_BLOB, sealed_data.size(), in Unseal()
/system/tpm/trunks/
Dtpm_utility.h230 std::string* sealed_data) = 0;
234 virtual TPM_RC UnsealData(const std::string& sealed_data,
Dtpm_utility_impl.h115 std::string* sealed_data) override;
116 TPM_RC UnsealData(const std::string& sealed_data,
Dtrunks_factory_for_test.cc259 std::string* sealed_data) override { in SealData() argument
261 sealed_data); in SealData()
264 TPM_RC UnsealData(const std::string& sealed_data, in UnsealData() argument
267 return target_->UnsealData(sealed_data, delegate, unsealed_data); in UnsealData()
Dtpm_utility_test.cc1397 std::string sealed_data; in TEST_F() local
1406 &sealed_data)); in TEST_F()
1416 std::string sealed_data; in TEST_F() local
1418 utility_.SealData(data_to_seal, "", nullptr, &sealed_data)); in TEST_F()
1423 std::string sealed_data; in TEST_F() local
1429 &sealed_data)); in TEST_F()
1434 std::string sealed_data; in TEST_F() local
1435 EXPECT_CALL(mock_blob_parser_, SerializeKeyBlob(_, _, &sealed_data)) in TEST_F()
1439 &sealed_data)); in TEST_F()
1443 std::string sealed_data; in TEST_F() local
[all …]
Dtrunks_client_test.cc309 std::string sealed_data; in SealedDataTest() local
311 session->GetDelegate(), &sealed_data); in SealedDataTest()
329 result = utility->UnsealData(sealed_data, policy_session->GetDelegate(), in SealedDataTest()
350 result = utility->UnsealData(sealed_data, policy_session->GetDelegate(), in SealedDataTest()
Dtpm_utility_impl.cc1002 std::string* sealed_data) { in SealData() argument
1003 CHECK(sealed_data); in SealData()
1049 sealed_data)) { in SealData()
1055 TPM_RC TpmUtilityImpl::UnsealData(const std::string& sealed_data, in UnsealData() argument
1070 result = LoadKey(sealed_data, password_delegate.get(), &object_handle); in UnsealData()