Re: /dev/random probs in 2.4test(12-pre3)

From: David Ford (david@linux.com)
Date: Sat Dec 02 2000 - 15:44:23 EST


> Making /dev/random block if the amount requirements aren't met makes sense
> to me. If I request x bytes of random stuff, and get less, I probably
> reread /dev/random. If it's entropy pool is exhausted it makes sense to be
> to block.

This is the job of the program accessing /dev/random. Open it blocking or
non-blocking and read until you satisfy your read buffer.

-d



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:09 EST