Searched refs:myprng (Results 1 – 2 of 2) sorted by relevance
86 OneTimePad* myprng = (OneTimePad*)user_data; in Generate() local90 if (myprng->reported_having_no_data_) { in Generate()95 if ((size_t)num_bits > myprng->BitsAvailable()) { in Generate()97 myprng->reported_having_no_data_ = true; in Generate()106 random_bytes[n] = myprng->data_[myprng->bytes_consumed_++]; in Generate()
75 Prng* myprng = (Prng*)user_data; in Generate() local78 static_cast<unsigned char>(myprng->generator_() & 0x000000ff); in Generate()105 StaticPrng* myprng = (StaticPrng*)user_data; in Generate() local107 random_data[i] = myprng->bytes_[i % myprng->bytes_.size()]; in Generate()