Date: Fri, 28 Mar 1997 03:06:13 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru> To: Poul-Henning Kamp <phk@critter.dk.tfs.com> Cc: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, markm@FreeBSD.ORG, security@FreeBSD.ORG Subject: Re: ATTENTION: Initial state of random pool Message-ID: <Pine.BSF.3.96.970328030206.521C-100000@nagual.ru> In-Reply-To: <550.859495025@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Mar 1997, Poul-Henning Kamp wrote: > A semi-not-too-bad priming method could be: > > for dev in all diskmedia > ts = time > bno = ts.tv_usec & dssize(dev) > read sector bno > add sectore to random pool We don't need more methods, all we need is _one_ true random method which generates at least _one_ random word initially, because pool hashed after it, i.e. it seeds MD5 RNG. Good guess will be timer method which already present. Looking in the code (not deeply), I can't say, is any true randomness added initially, I think somebody who knows it better (Mark?) can answer. -- Andrey A. Chernov <ache@null.net> http://www.nagual.ru/~ache/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970328030206.521C-100000>