Searched refs:rand (Results 51 - 54 of 54) sorted by relevance

123

/system/keymaster/tests/
H A Dandroid_keymaster_messages_test.cpp673 std::cout << "Seeding rand() with " << now << " for fuzz test." << std::endl;
680 buf[i] = static_cast<uint8_t>(rand());
H A Dandroid_keymaster_test.cpp4429 size_t param_to_tweak = rand() % params.size();
4430 uint8_t byte_to_tweak = rand() % sizeof(params[param_to_tweak].nonce);
4431 uint8_t bit_to_tweak = rand() % 8;
4461 auto param_to_tweak = rand() & params.size();
H A Dandroid_keymaster_test_utils.cpp21 #include <openssl/rand.h>
/system/tpm/trunks/
H A Dtpm_utility_impl.cc28 #include <openssl/rand.h>

Completed in 127 milliseconds

123