This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] tr1/random: implement random_device


On Sat, Jun 10, 2006 at 01:40:14AM +0200, Paolo Carlini wrote:
> 2006-06-09  Paolo Carlini  <pcarlini@suse.de>
> 
> 	* acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): New, check for
> 	the availability of "/dev/random" and "/dev/urandom".
> 	* configure.ac: Use it.
> 	* include/tr1/random (random_device): Implement, a fall-back for
> 	systems not providing "/dev/random" and "/dev/urandom" included.

On systems, without /dev/random, would allowing an option to specify a
path to a socket that entropy is provided on be viable? Systems
without /dev/random sometimes use PRNGd to gather entropy.

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]