From owner-cvs-all@FreeBSD.ORG Tue Jul 22 10:40:01 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC1F1065674 for ; Tue, 22 Jul 2008 10:40:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.174]) by mx1.freebsd.org (Postfix) with ESMTP id ED7C38FC1A for ; Tue, 22 Jul 2008 10:40:00 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-010-154.pools.arcor-ip.net [88.66.10.154]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1KLFHi3s2r-0000YA; Tue, 22 Jul 2008 12:39:59 +0200 Received: (qmail 70035 invoked from network); 22 Jul 2008 10:39:58 -0000 Received: from myhost.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 22 Jul 2008 10:39:58 -0000 From: Max Laier Organization: FreeBSD To: "Poul-Henning Kamp" Date: Tue, 22 Jul 2008 12:39:57 +0200 User-Agent: KMail/1.9.9 References: <37711.1216722891@critter.freebsd.dk> In-Reply-To: <37711.1216722891@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807221239.57653.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+kH9d3Luch4HgMfq9ZLxGfwuvlp+JQxVd2qpD xuq14+iEqs1FqDUTVa7okE7s5mnHmA21R95XkCijGyztINy8ed 9KcbjI9JqIe5LN0oKgQqw== Cc: cvs-src@freebsd.org, src-committers@freebsd.org, "Andrey A. Chernov" , cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen arc4random.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 10:40:01 -0000 On Tuesday 22 July 2008 12:34:51 Poul-Henning Kamp wrote: > In message <200807221031.m6MAVe9I012301@repoman.freebsd.org>, "Andrey > A. Cherno > > v" writes: > > Increase initially dropped bytes from 512 to 768 (768 is also > > suggested in the Ilya Mironov's article). 768 taken from another > > research where it treats as default for RC4-drop(768): > > http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop > > I've always wondered why the dropped number of bytes is constant, > wouldn't it be smarter to drop a constant number, and then pull > out the next byte and drop that many further bytes ? If you can observe the runtime that might give you a very good idea what that byte was ... not sure if that is of relevance, but just a thought. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News