From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5475 invoked by alias); 3 Apr 2008 21:15:15 -0000 Received: (qmail 5457 invoked by uid 22791); 3 Apr 2008 21:15:14 -0000 X-Spam-Check-By: sourceware.org Received: from mail.systech.com (HELO mail.systech.com) (207.212.80.162) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 21:14:42 +0000 Received: by mail.systech.com with Internet Mail Service (5.5.2650.21) id ; Thu, 3 Apr 2008 13:13:12 -0800 Message-ID: <74C9525D67A5FF4791614FDB06593BB10429A50C@mail.systech.com> From: Jay Foster To: 'Grant Edwards' , ecos-discuss@sources.redhat.com Date: Thu, 03 Apr 2008 21:49:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Re: Entropy gathering? X-SW-Source: 2008-04/txt/msg00058.txt.bz2 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 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