Lines Matching refs:bytes_read
69 int bytes_read;
72 bytes_read = rng_get_data(rng, rng_fillbuf, 32, 0);
74 if (bytes_read > 0) {
75 size_t entropy = bytes_read * 8 * rng->quality / 1024;
76 add_hwgenerator_randomness(rng_fillbuf, bytes_read, entropy, false);
218 int bytes_read, len;
237 bytes_read = rng_get_data(rng, rng_buffer,
240 if (bytes_read < 0) {
241 err = bytes_read;
243 } else if (bytes_read == 0 &&
249 data_avail = bytes_read;