Home
last modified time | relevance | path

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

/device/google/bonito/json-c/
Drandom_seed.c136 static const char *dev_random_file = "/dev/urandom"; variable
141 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()
/device/google/crosshatch/json-c/
Drandom_seed.c136 static const char *dev_random_file = "/dev/urandom"; variable
141 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()
/device/google/coral/json-c/
Drandom_seed.c136 static const char *dev_random_file = "/dev/urandom"; variable
141 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()