Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 04:38:53 -0800 (PST)
From:      Doug Barton <DougB@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org
Subject:   Re: rand() is broken
Message-ID:  <20030202043722.E77226@12-234-22-23.pyvrag.nggov.pbz>
In-Reply-To: <20030202123035.GB62977@nagual.pp.ru>
References:  <20030202070644.GA9987@rot13.obsecurity.org> <20030202090422.GA59750@nagual.pp.ru> <20030202091106.GA72723@rot13.obsecurity.org> <20030202102621.GA60900@nagual.pp.ru> <20030202123035.GB62977@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Feb 2003, Andrey A. Chernov wrote:

> On Sun, Feb 02, 2003 at 13:26:21 +0300, Andrey A. Chernov wrote:
>
> > Workaround I find so far is something like that
> >
> > #define MASK 123459876
>
> I found nothing better. Here is fix for 0 problem I plan to commit:

I think it's worthwhile to wait till we get a chance to try arc4random().
Also, have you run the code you're proposing through the tests in the post
that David Schultz just made?

Before leaping ahead with another band-aid it would be nice to give this
some serious thought.

Doug

-- 

    If it's moving, encrypt it. If it's not moving, encrypt
      it till it moves, then encrypt it some more.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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