Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_random_source.cpp28 uint8_t* random, size_t requested_length) const { in GenerateRandom() argument
44 memcpy(random, generated->buffer, sizeof(generated->buffer)); in GenerateRandom()
45 random = (uint8_t*) random + sizeof(generated->buffer); in GenerateRandom()
57 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.cpp87 void TpmGatekeeper::GetRandom(void* random, uint32_t requested_size) const { in GetRandom() argument
88 auto random_uint8 = reinterpret_cast<uint8_t*>(random); in GetRandom()
Dtpm_gatekeeper.h51 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/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXw32defs.h52 # define random rand macro
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtc/
Drandom.inl2 /// @file glm/gtc/random.inl
/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