From owner-freebsd-security@FreeBSD.ORG Mon Mar 7 19:44:51 2005 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B97516A4CE; Mon, 7 Mar 2005 19:44:51 +0000 (GMT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB39743D1F; Mon, 7 Mar 2005 19:44:50 +0000 (GMT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id j27Jinaa006064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Mon, 7 Mar 2005 14:44:49 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id j27JiniV006061; Mon, 7 Mar 2005 14:44:49 -0500 (EST) (envelope-from wollman) Date: Mon, 7 Mar 2005 14:44:49 -0500 (EST) From: Garrett Wollman Message-Id: <200503071944.j27JiniV006061@khavrinen.lcs.mit.edu> To: Mark Murray In-Reply-To: <200503071609.j27G9mR1032489@grovel.grondar.org> References: <20050307130330.GX9291@darkness.comp.waw.pl> <200503071609.j27G9mR1032489@grovel.grondar.org> X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.37 X-Mailman-Approved-At: Tue, 08 Mar 2005 11:44:50 +0000 cc: freebsd-security@FreeBSD.ORG Subject: Re: New entropy source proposal. X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 19:44:51 -0000 < said: > Did you have a noise source connected? I generated 1MB of data and it was not > very random at all. "hexdump -C data" showed the data was very poor indeed. The usual noise source is thermal noise in the machine itself. The process that I've heard described involves: 0) Disconnecting any input sources. 1) Turning the input gain all the way up. 2) Taking only the least-significant bit of each sample. In order to use this in FreeBSD, we would probably want a compile option in the sound drivers to disable their use for other purposes (e.g., generating sound). -GAWollman