Searched refs:sealed_data (Results 1 – 9 of 9) sorted by relevance
/system/tpm/attestation/common/ |
D | tpm_utility.h | 70 std::string* sealed_data) = 0; 74 virtual bool Unseal(const std::string& sealed_data, std::string* data) = 0;
|
D | tpm_utility_v1.h | 57 bool SealToPCR0(const std::string& data, std::string* sealed_data) override; 58 bool Unseal(const std::string& sealed_data, std::string* data) override;
|
D | tpm_utility_v1.cc | 269 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/ |
D | tpm_utility.h | 230 std::string* sealed_data) = 0; 234 virtual TPM_RC UnsealData(const std::string& sealed_data,
|
D | tpm_utility_impl.h | 115 std::string* sealed_data) override; 116 TPM_RC UnsealData(const std::string& sealed_data,
|
D | trunks_factory_for_test.cc | 259 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()
|
D | tpm_utility_test.cc | 1397 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 …]
|
D | trunks_client_test.cc | 309 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()
|
D | tpm_utility_impl.cc | 1002 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()
|