HomeSort by relevance Sort by last modified time
    Searched refs:random_fd (Results 1 - 4 of 4) sorted by null

  /external/wpa_supplicant_8/src/crypto/
random.c 52 static int random_fd = -1; variable
298 if (random_fd >= 0) {
299 eloop_unregister_read_sock(random_fd);
300 close(random_fd);
301 random_fd = -1;
415 if (random_fd >= 0)
418 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
419 if (random_fd < 0) {
427 eloop_register_read_sock(random_fd, random_read_fd, NULL, NULL);
  /external/autotest/client/site_tests/platform_CompressedSwap/src/
hog.c 37 int random_fd = open("/dev/urandom", O_RDONLY); local
61 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
  /external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
hog.c 92 int random_fd = open("/dev/urandom", O_RDONLY); local
147 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
  /system/extras/verity/
build_verity_tree.cpp 212 int random_fd = open("/dev/urandom", O_RDONLY); local
213 if (random_fd < 0) {
217 ssize_t ret = read(random_fd, salt.data(), salt.size());
221 close(random_fd);

Completed in 260 milliseconds