Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore.cpp435 Entropy() : mRandom(-1) {} in Entropy()
437 if (mRandom >= 0) { in ~Entropy()
438 close(mRandom); in ~Entropy()
444 mRandom = TEMP_FAILURE_RETRY(::open(randomDevice, O_RDONLY)); in open()
445 if (mRandom < 0) { in open()
453 return (readFully(mRandom, data, size) == size); in generate_random_data()
457 int mRandom; member in Entropy