From owner-freebsd-current Sun Jun 23 23:59:01 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA28942 for current-outgoing; Sun, 23 Jun 1996 23:59:01 -0700 (PDT) Received: from grumble.grondar.za (grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA28933; Sun, 23 Jun 1996 23:58:38 -0700 (PDT) Received: from grumble.grondar.za (localhost.grondar.za [127.0.0.1]) by grumble.grondar.za (8.7.5/8.7.3) with ESMTP id IAA03828; Mon, 24 Jun 1996 08:56:39 +0200 (SAT) Message-Id: <199606240656.IAA03828@grumble.grondar.za> To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) cc: mark@grondar.za (Mark Murray), bde@FreeBSD.org, sos@FreeBSD.org, current@FreeBSD.org Subject: Re: Syscons mouse as entropy source. Please review... Date: Mon, 24 Jun 1996 08:56:31 +0200 From: The Unknown User-ID (100) Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > SYSCONS's new mouse driver is a _Great_ source of entropy. Please > > comment on/review these diffs. I am mostly concerned with the > > placement of the add_mouse_randomness() call, as I do not want > > to slow down the mouse cursor more than is necessary... > > 1) You need to check somewhere, that mouse cursor REALLY RUNNING, > or you always got 0,0 I did that (sort of) by only getting randomness when the mouse position changes. At least I hope I got that right. > 2) You can use mouse pointer info ONLY IF PREVIOUS X,Y VALUES > != CURRENT values. I can never touch my mouse for hours! See above. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key