Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Drandom.c54 static size_t dummy_key_avail = 0; variable
237 if (dummy_key_avail == sizeof(dummy_key)) in random_pool_ready()
248 res = getrandom(dummy_key + dummy_key_avail, in random_pool_ready()
249 sizeof(dummy_key) - dummy_key_avail, GRND_NONBLOCK); in random_pool_ready()
273 res = read(fd, dummy_key + dummy_key_avail, in random_pool_ready()
274 sizeof(dummy_key) - dummy_key_avail); in random_pool_ready()
285 (unsigned) (sizeof(dummy_key) - dummy_key_avail)); in random_pool_ready()
286 dummy_key_avail += res; in random_pool_ready()
288 if (dummy_key_avail == sizeof(dummy_key)) { in random_pool_ready()
297 (unsigned) dummy_key_avail, (unsigned) sizeof(dummy_key)); in random_pool_ready()
[all …]