[libdispatch-dev] [PATCH] arc4random

Robert Watson robert at fledge.watson.org
Thu Nov 19 00:35:38 PST 2009


On Thu, 19 Nov 2009, Joakim Johansson wrote:

> No, it doesn't seem supported.
>
> /dev/urandom && /dev/random is supported though, and seems to be on all of 
> OS X, FreeBSD and Linux platforms (and more), perhaps I'm missing something, 
> but couldn't we simply read random data from that source instead?

The temptation would be to provide a compat shim for sranddev() for systems 
that don't implement it.

Robert N M Watson
Computer Laboratory
University of Cambridge

>
> Joakim
>
>
> On 19 nov 2009, at 08.44, Robert N. M. Watson wrote:
>
>> Does Solaris have an sranddev()?
>
>
>
>



More information about the libdispatch-dev mailing list