Searched refs:dev_urandom (Results 1 – 7 of 7) sorted by relevance
/third_party/glib/glib/ |
D | grand.c | 227 FILE* dev_urandom; in g_rand_new() local 231 dev_urandom = fopen("/dev/urandom", "rb"); in g_rand_new() 233 while G_UNLIKELY (dev_urandom == NULL && errno == EINTR); in g_rand_new() 235 if (dev_urandom) in g_rand_new() 239 setvbuf (dev_urandom, NULL, _IONBF, 0); in g_rand_new() 243 r = fread (seed, sizeof (seed), 1, dev_urandom); in g_rand_new() 250 fclose (dev_urandom); in g_rand_new()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | seed_material.cc | 132 int dev_urandom = open(kEntropyFile, O_RDONLY); 133 bool success = (-1 != dev_urandom); 139 int bytes_read = read(dev_urandom, buffer, buffer_size); 149 close(dev_urandom);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | seed_material.cc | 169 int dev_urandom = open(kEntropyFile, O_RDONLY); 170 bool success = (-1 != dev_urandom); 176 int bytes_read = read(dev_urandom, buffer, buffer_size); 186 close(dev_urandom);
|
/third_party/eudev/src/shared/ |
D | random-util.c | 33 int dev_urandom(void *p, size_t n) { in dev_urandom() function 115 r = dev_urandom(p, n); in random_bytes()
|
D | random-util.h | 24 int dev_urandom(void *p, size_t n);
|
/third_party/python/Python/ |
D | bootstrap_hash.c | 325 dev_urandom(char *buffer, Py_ssize_t size, int raise) in dev_urandom() function 538 return dev_urandom(buffer, size, raise); in pyurandom()
|
/third_party/NuttX/ |
D | ReleaseNotes | 18461 - Crypto: Move dev_urandom.c into new crypto folder. From Xiang
|