Searched refs:urandom (Results 1 – 5 of 5) sorted by relevance
21 int urandom; in create_tmp_file() local29 urandom = open("/dev/urandom", O_RDONLY); in create_tmp_file()30 if (urandom < 0) { in create_tmp_file()51 rc = read(urandom, buf, size); in create_tmp_file()80 close(urandom); in create_tmp_file()88 close(urandom); in create_tmp_file()
544 std::ifstream urandom("/dev/urandom"); in e4crypt_get_key() local545 if (!urandom) { in e4crypt_get_key()551 urandom.read(key_bytes, sizeof(key_bytes)); in e4crypt_get_key()552 if (!urandom) { in e4crypt_get_key()
117 rand_str = os.urandom(size)320 rand_str = os.urandom(1024 * kbytes)
10 /dev/urandom 0666 root root
305 copy /data/system/entropy.dat /dev/urandom