Home
last modified time | relevance | path

Searched refs:GenerateRandom (Results 1 – 14 of 14) sorted by relevance

/system/keymaster/include/keymaster/
Dkeymaster_context.h155 virtual keymaster_error_t GenerateRandom(uint8_t* buf, size_t length) const = 0;
Dsoft_keymaster_context.h81 keymaster_error_t GenerateRandom(uint8_t* buf, size_t length) const override;
/system/keymaster/
Dattestation_record_test.cpp77 keymaster_error_t GenerateRandom(uint8_t* /* buf */, size_t /* length */) const override { in GenerateRandom() function in keymaster::test::TestContext
Dsymmetric_key.cpp55 error = context_->GenerateRandom(key_material.writable_data(), key_data_size); in GenerateKey()
Dsoft_keymaster_context.cpp751 keymaster_error_t SoftKeymasterContext::GenerateRandom(uint8_t* buf, size_t length) const { in GenerateRandom() function in keymaster::SoftKeymasterContext
/system/tpm/trunks/
Dmock_tpm_utility.h43 MOCK_METHOD3(GenerateRandom,
Dtpm_utility.h86 virtual TPM_RC GenerateRandom(size_t num_bytes,
Dtpm_utility_impl.h53 TPM_RC GenerateRandom(size_t num_bytes,
Dtrunks_factory_for_test.cc145 TPM_RC GenerateRandom(size_t num_bytes, in GenerateRandom() function in trunks::TpmUtilityForwarder
148 return target_->GenerateRandom(num_bytes, delegate, random_data); in GenerateRandom()
Dtrunks_client_test.cc86 utility->GenerateRandom(num_bytes, session->GetDelegate(), &random_data); in RNGTest()
Dtpm_utility_test.cc393 utility_.GenerateRandom(num_bytes, &mock_authorization_delegate_, in TEST_F()
404 utility_.GenerateRandom(num_bytes, nullptr, &random_data)); in TEST_F()
Dtpm_utility_impl.cc328 TPM_RC TpmUtilityImpl::GenerateRandom(size_t num_bytes, in GenerateRandom() function in trunks::TpmUtilityImpl
/system/tpm/tpm_manager/server/
Dtpm2_initializer_impl.cc189 TPM_RC result = trunks_factory_.GetTpmUtility()->GenerateRandom( in GetTpmRandomData()
Dtpm2_initializer_test.cc109 EXPECT_CALL(mock_tpm_utility_, GenerateRandom(_, _, _)) in TEST_F()