This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Entropy gathering?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 3 Apr 2008 19:18:13 +0000 (UTC)
- Subject: [ECOS] Re: Entropy gathering?
- References: <ft39cc$hfe$1@ger.gmane.org>
On 2008-04-03, Grant Edwards <grante@visi.com> wrote:
> The BSD stacks appear to use an aRC4 keystream for "random"
> data. The stream uses a constant seed and then mixes in the
> system clock value. It could be worse, but it's not great
> either.
Upon reading the above statement, I think I should clarify that
the "system time" that's mixed in is the HAL's hardware counter
value and not the system tick count time. The hardware counter
is changing much faster (a good thing), but it provides
relatively few bits (on my targets, it ranges from 14-18).
--
Grant Edwards grante Yow! My mind is making
at ashtrays in Dayton ...
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss