Home
last modified time | relevance | path

Searched refs:random (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_random_source.cpp26 uint8_t* random, size_t requested_length) const { in GenerateRandom() argument
42 memcpy(random, generated->buffer, sizeof(generated->buffer)); in GenerateRandom()
43 random = (uint8_t*) random + sizeof(generated->buffer); in GenerateRandom()
55 memcpy(random, generated->buffer, requested_length); in GenerateRandom()
Dsoft_gatekeeper.h80 virtual void GetRandom(void* random, uint32_t requested_length) const { in GetRandom() argument
81 if (random == NULL) return; in GetRandom()
82 RAND_pseudo_bytes((uint8_t*)random, requested_length); in GetRandom()
/device/google/cuttlefish/host/frontend/vnc_server/
Dframe_buffer_watcher.cpp150 std::uniform_int_distribution<int> random{0, 2}; in Worker() local
174 if (random(e)) { in Worker()