This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: Entropy gathering?


I hadn't realized that this was also implemented by a colleague and is not
part of the public eCos.  Never mind.
Jay

-----Original Message-----
From: Grant Edwards [mailto:grante@visi.com]
Sent: Thursday, April 03, 2008 12:53 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: Entropy gathering?


On 2008-04-03, Jay Foster <jay@systech.com> wrote:

> A colleague implemented something like this by creating a
> function that could be called from various places at random
> times, such as the ethernet driver (ether_input()), serial
> port modem signal changes, etc.  The function would read the
> HAL microsecond clock value and write the lower 16-bits to
> /dev/random.  After a pre-determined number of such events,
> this function would stop writing to /dev/random and simply
> return.

Where's the source for /dev/random?

I spent quite a while searching through the source tree for
random-number resources yesterday and never found it.  I just
grepped through ecos.db and through all the filenames in the
source tree and didn't get any hits on the string 'random' or
'RANDOM'.  I also grepped through all of the c/c++ files and
never found the string '/dev/random'.  It seems to be well
hidden...

-- 
Grant Edwards                   grante             Yow! I'm having a
RELIGIOUS
                                  at               EXPERIENCE ... and I
don't
                               visi.com            take any DRUGS


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]