From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5735 invoked by alias); 3 Apr 2008 19:01:03 -0000 Received: (qmail 5726 invoked by uid 22791); 3 Apr 2008 19:01:03 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 19:00:35 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JhUfm-0004jl-C3 for ecos-discuss@sources.redhat.com; Thu, 03 Apr 2008 19:00:30 +0000 Received: from 64.251.14.41 ([64.251.14.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 19:00:30 +0000 Received: from grante by 64.251.14.41 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 19:00:30 +0000 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Thu, 03 Apr 2008 19:18:00 -0000 Message-ID: User-Agent: slrn/0.9.8.1pl1 (Linux) 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: [ECOS] Entropy gathering? X-SW-Source: 2008-04/txt/msg00053.txt.bz2 I'm working on adding some secure protocol support (ssl/ssh) to an eCos app, and the libraries implmenting the protocols need a source of cryptologically secure random bits. I've been searching through the eCos source tree, and there don't appear to be any sort entropy gathering hooks anywhere. 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. Has any thought been given to providing a mechanism to gather some entropy from the timing of interrupts generated externally (network, serial ports, etc.)? -- Grant Edwards grante Yow! If I pull this SWITCH at I'll be RITA HAYWORTH!! visi.com Or a SCIENTOLOGIST! -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss