Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 18:38:41 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nicolas Blais <nb_root@videotron.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: srandomdev() vs srandom() vs arc4random()
Message-ID:  <20050525013841.GA11215@xor.obsecurity.org>
In-Reply-To: <200505242135.57579.nb_root@videotron.ca>
References:  <200505242113.54226.nb_root@videotron.ca> <20050525011818.GA7992@xor.obsecurity.org> <200505242135.57579.nb_root@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 24, 2005 at 09:35:37PM -0400, Nicolas Blais wrote:
> > arc4random() should produce higher quality randomness, although
> > srandom() may be good enough for your needs.
> >
> > > Finally, is there is a way to check if the call srandomdev() exists on
> > > other OSes?
> >
> > Sure, compile a test app in your configure script :-)
> >
> > Kris
>=20
> Thanks,
> I'm assuming arc4random() is also limited to *BSD?

I have no idea.  Try it and see.

Kris



--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCk9chWry0BWjoQKURAiW3AJ9SR4zOAEIaQw5FKNpQltYbeHLB6ACfW3DX
6woCM1RCSQBlGGnl2zjwONc=
=yLEQ
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050525013841.GA11215>