Home
last modified time | relevance | path

Searched refs:data_to_seal (Results 1 – 6 of 6) sorted by relevance

/system/tpm/trunks/
Dtpm_utility.h227 virtual TPM_RC SealData(const std::string& data_to_seal,
Dtpm_utility_test.cc1396 std::string data_to_seal("seal_data"); in TEST_F() local
1405 utility_.SealData(data_to_seal, "", &mock_authorization_delegate_, in TEST_F()
1407 EXPECT_EQ(sensitive_create.sensitive.data.size, data_to_seal.size()); in TEST_F()
1409 data_to_seal.data(), data_to_seal.size())); in TEST_F()
1415 std::string data_to_seal("seal_data"); in TEST_F() local
1418 utility_.SealData(data_to_seal, "", nullptr, &sealed_data)); in TEST_F()
1422 std::string data_to_seal("seal_data"); in TEST_F() local
1428 utility_.SealData(data_to_seal, "", &mock_authorization_delegate_, in TEST_F()
1433 std::string data_to_seal("seal_data"); in TEST_F() local
1438 utility_.SealData(data_to_seal, "", &mock_authorization_delegate_, in TEST_F()
Dtpm_utility_impl.h112 TPM_RC SealData(const std::string& data_to_seal,
Dtrunks_factory_for_test.cc256 TPM_RC SealData(const std::string& data_to_seal, in SealData() argument
260 return target_->SealData(data_to_seal, policy_digest, delegate, in SealData()
Dtrunks_client_test.cc308 std::string data_to_seal("seal_data"); in SealedDataTest() local
310 result = utility->SealData(data_to_seal, policy_digest, in SealedDataTest()
335 if (data_to_seal != unsealed_data) { in SealedDataTest()
Dtpm_utility_impl.cc999 TPM_RC TpmUtilityImpl::SealData(const std::string& data_to_seal, in SealData() argument
1028 sensitive.data = Make_TPM2B_SENSITIVE_DATA(data_to_seal); in SealData()