From owner-freebsd-hackers Sun Nov 11 12:56:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id 8EB9437B417 for ; Sun, 11 Nov 2001 12:56:14 -0800 (PST) Received: (qmail 55353 invoked by uid 1000); 11 Nov 2001 20:56:12 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Nov 2001 20:56:12 -0000 Date: Sun, 11 Nov 2001 14:56:12 -0600 (CST) From: Mike Silbersack To: John Kozubik Cc: Subject: Re: CPU Temp and Fan speed as entropy? In-Reply-To: Message-ID: <20011111145324.W55153-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 10 Nov 2001, John Kozubik wrote: > > CPU temp and fan speed may or may not be truly random - regardless, I > would be wary of using them as random seeds. First, I suspect that the > range of values is quite small - how much does your temp and fan speed > actually fluctuate over time ? > > Second, I don't have a bios like this in front of me to examine, but I > doubt the granularity is greater than one decimal place. Comments ? > > Due to the small range that these numbers will fall in, I would think the > effectiveness of these values as a random seed are directly related to the > number of places to the right of the decimal these values are measured in. > > ----- > John Kozubik - john@kozubik.com - http://www.kozubik.com I tried running one of the monitoring programs after I sent that message, and found what you guessed above; the accuracy is not early good enough for entropy use. The granularity seems to be about 4 degrees, and the temperature seems to just bounce between two values once every few seconds or so. Oh well. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message