Searched refs:dev_random_file (Results 1 – 1 of 1) sorted by relevance
136 static const char *dev_random_file = "/dev/urandom"; variable141 if (stat(dev_random_file, &buf)) { in has_dev_urandom()154 int fd = open(dev_random_file, O_RDONLY); in get_dev_random_seed()156 fprintf(stderr, "error opening %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()163 fprintf(stderr, "error short read %s: %s", dev_random_file, strerror(errno)); in get_dev_random_seed()