Lines Matching refs:len
69 * Collect 'len' bytes of entropy into 'buf' from PRNGD/EGD daemon
77 get_random_bytes_prngd(unsigned char *buf, int len,
93 if (len <= 0 || len > 255)
94 fatal("Too many bytes (%d) to read from PRNGD", len);
135 msg[1] = len;
148 if (atomicio(read, fd, buf, len) != (size_t)len) {
200 u_int len;
202 buf = buffer_get_string_ret(m, &len);
204 debug3("rexec_recv_rng_seed: seeding rng with %u bytes", len);
205 RAND_add(buf, len, len);