From owner-freebsd-current Sun Feb 2 10:47:14 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 D441B37B401 for ; Sun, 2 Feb 2003 10:47:13 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A9A43E4A for ; Sun, 2 Feb 2003 10:47:12 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h12IlC4W032213; Sun, 2 Feb 2003 19:47:12 +0100 (CET) (envelope-from phk@freebsd.org) To: Mark Murray Cc: "Andrey A. Chernov" , current@freebsd.org Subject: Re: rand() is broken From: phk@freebsd.org In-Reply-To: Your message of "Sun, 02 Feb 2003 18:36:02 GMT." <200302021836.h12Ia2aX049696@grimreaper.grondar.org> Date: Sun, 02 Feb 2003 19:47:12 +0100 Message-ID: <32212.1044211632@critter.freebsd.dk> 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 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. In cases were we just want trivial "randomness", this doesn't matter, but when we start to seed it with /dev/random to get good randomness we to be more careful. Maybe we should spend an AES on it, just in case ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message