Home
last modified time | relevance | path

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

/system/tpm/trunks/
Dtpm_utility.h84 virtual TPM_RC StirRandom(const std::string& entropy_data,
Dtpm_utility_impl.h51 TPM_RC StirRandom(const std::string& entropy_data,
Dtrunks_factory_for_test.cc153 TPM_RC StirRandom(const std::string& entropy_data, in StirRandom() argument
155 return target_->StirRandom(entropy_data, delegate); in StirRandom()
Dtrunks_client_test.cc77 std::string entropy_data("entropy_data"); in RNGTest() local
80 TPM_RC result = utility->StirRandom(entropy_data, session->GetDelegate()); in RNGTest()
Dtpm_utility_test.cc381 std::string entropy_data("large test data", 100); in TEST_F() local
383 utility_.StirRandom(entropy_data, &mock_authorization_delegate_)); in TEST_F()
387 std::string entropy_data("test data"); in TEST_F() local
390 EXPECT_EQ(TPM_RC_FAILURE, utility_.StirRandom(entropy_data, nullptr)); in TEST_F()
Dtpm_utility_impl.cc321 TPM_RC TpmUtilityImpl::StirRandom(const std::string& entropy_data, in StirRandom() argument
323 std::string digest = crypto::SHA256HashString(entropy_data); in StirRandom()