Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Drandom.c55 static size_t stub_key_avail = 0; variable
241 if (stub_key_avail == sizeof(stub_key)) in random_pool_ready()
252 res = getrandom(stub_key + stub_key_avail, in random_pool_ready()
253 sizeof(stub_key) - stub_key_avail, GRND_NONBLOCK); in random_pool_ready()
277 res = read(fd, stub_key + stub_key_avail, in random_pool_ready()
278 sizeof(stub_key) - stub_key_avail); in random_pool_ready()
289 (unsigned) (sizeof(stub_key) - stub_key_avail)); in random_pool_ready()
290 stub_key_avail += res; in random_pool_ready()
292 if (stub_key_avail == sizeof(stub_key)) { in random_pool_ready()
301 (unsigned) stub_key_avail, (unsigned) sizeof(stub_key)); in random_pool_ready()
[all …]