From owner-freebsd-current Sun Feb 2 10:58:50 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1EB737B401; Sun, 2 Feb 2003 10:58:48 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD6243F75; Sun, 2 Feb 2003 10:58:47 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id h12Iwld6066755; Sun, 2 Feb 2003 21:58:47 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id h12IwlBW066754; Sun, 2 Feb 2003 21:58:47 +0300 (MSK) (envelope-from ache) Date: Sun, 2 Feb 2003 21:58:46 +0300 From: "Andrey A. Chernov" To: phk@freebsd.org Cc: Mark Murray , current@freebsd.org Subject: Re: rand() is broken Message-ID: <20030202185846.GC66622@nagual.pp.ru> References: <200302021836.h12Ia2aX049696@grimreaper.grondar.org> <32212.1044211632@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32212.1044211632@critter.freebsd.dk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 02, 2003 at 19:47:12 +0100, phk@freebsd.org wrote: > In message <200302021836.h12Ia2aX049696@grimreaper.grondar.org>, Mark Murray wr > ites: > > >We have most of this, and RC4 can deliver. RC4's "licence" is > >fine. Call it "ArCFour" and there is no problem. The code is > >small, fast and repeatable, and meets conditions 1-4 above. > > There are some concerns about RC4's strength and predictability. Yes. That why I say we need to run some tests to compare RC4 distribution and other vital parameters with our current variant. The worst case will be if we replace good PRNG with bad. F.e. Knuth variant I already mention already proven as better than what we currently have, so don't have such problem as RC4-based PRNG probably have. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message