Searched refs:requested_length (Results 1 – 2 of 2) sorted by relevance
26 uint8_t* random, size_t requested_length) const { in GenerateRandom()27 if (requested_length == 0) { in GenerateRandom()32 while (requested_length > sizeof(generated->buffer)) { in GenerateRandom()44 requested_length -= sizeof(generated->buffer); in GenerateRandom()48 ESYS_TR_NONE, requested_length, &generated); in GenerateRandom()55 memcpy(random, generated->buffer, requested_length); in GenerateRandom()
80 virtual void GetRandom(void* random, uint32_t requested_length) const { in GetRandom() argument82 RAND_pseudo_bytes((uint8_t*)random, requested_length); in GetRandom()