Home
last modified time | relevance | path

Searched refs:myprng (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/member/tiny/math/unittests/
Donetimepad.h86 OneTimePad* myprng = (OneTimePad*)user_data; in Generate() local
90 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()
/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h75 Prng* myprng = (Prng*)user_data; in Generate() local
78 static_cast<unsigned char>(myprng->generator_() & 0x000000ff); in Generate()
105 StaticPrng* myprng = (StaticPrng*)user_data; in Generate() local
107 random_data[i] = myprng->bytes_[i % myprng->bytes_.size()]; in Generate()