OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:random_fd
(Results
1 - 2
of
2
) sorted by null
/external/wpa_supplicant_8/src/crypto/
random.c
52
static int
random_fd
= -1;
variable
294
if (
random_fd
>= 0) {
295
eloop_unregister_read_sock(
random_fd
);
296
close(
random_fd
);
297
random_fd
= -1;
411
if (
random_fd
>= 0)
414
random_fd
= open("/dev/random", O_RDONLY | O_NONBLOCK);
415
if (
random_fd
< 0) {
423
eloop_register_read_sock(
random_fd
, random_read_fd, NULL, NULL);
/system/extras/verity/
build_verity_tree.cpp
222
int
random_fd
= open("/dev/urandom", O_RDONLY);
local
223
if (
random_fd
< 0) {
227
ssize_t ret = read(
random_fd
, salt, salt_size);
231
close(
random_fd
);
Completed in 201 milliseconds