public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jay Foster <jay@systech.com>
To: 'Grant Edwards' <grante@visi.com>, ecos-discuss@sources.redhat.com
Subject: RE: [ECOS]  Re: Entropy gathering?
Date: Thu, 03 Apr 2008 21:49:00 -0000	[thread overview]
Message-ID: <74C9525D67A5FF4791614FDB06593BB10429A50C@mail.systech.com> (raw)

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

             reply	other threads:[~2008-04-03 21:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 21:49 Jay Foster [this message]
2008-04-03 22:29 ` Grant Edwards
2008-04-04  9:13   ` Markus Schaber
2008-04-04 14:15     ` Grant Edwards
2008-04-07  8:38       ` Daniel Néri
2008-04-07 10:57         ` Markus Schaber
  -- strict thread matches above, loose matches on Subject: below --
2008-04-03 19:53 Jay Foster
2008-04-03 20:00 ` Grant Edwards
2008-04-03 19:18 [ECOS] " Grant Edwards
2008-04-03 19:29 ` [ECOS] " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74C9525D67A5FF4791614FDB06593BB10429A50C@mail.systech.com \
    --to=jay@systech.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=grante@visi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).