Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_random_source.cpp29 uint8_t* random, size_t requested_length) const { in GenerateRandom() argument
45 memcpy(random, generated->buffer, sizeof(generated->buffer)); in GenerateRandom()
46 random = (uint8_t*) random + sizeof(generated->buffer); in GenerateRandom()
59 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()
Dtpm_gatekeeper.cpp86 void TpmGatekeeper::GetRandom(void* random, uint32_t requested_size) const { in GetRandom() argument
87 auto random_uint8 = reinterpret_cast<uint8_t*>(random); in GetRandom()
Dtpm_gatekeeper.h52 void GetRandom(void* random, uint32_t requested_size) const override;
/device/google/cuttlefish/host/frontend/webrtc_operator/
Dclient_handler.cpp36 std::uniform_int_distribution<int> random{ in RandomClientSecret() local
38 std::generate_n(ret.begin(), len, [&]() { return chars[random(e)]; }); in RandomClientSecret()
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto1275 // The seed value for a simple multiplicative congruential pseudo-random
1280 // account for the number of bytes needed to encode the random number and a
8380 // The current value of the random number sequence used in tests.
8595 // * This is not crash ID or trace ID. It is just a random 64-bit number
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt50821 HSPLjava/lang/Math;->random()D