Date: Tue, 22 Jul 2008 12:39:57 +0200 From: Max Laier <max@love2party.net> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, "Andrey A. Chernov" <ache@freebsd.org>, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807221239.57653.max@love2party.net> In-Reply-To: <37711.1216722891@critter.freebsd.dk> References: <37711.1216722891@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807221239.57653.max>