From owner-cvs-src@FreeBSD.ORG Sun Aug 10 15:45:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DB37106564A; Sun, 10 Aug 2008 15:45:51 +0000 (UTC) (envelope-from rik@inse.ru) Received: from mail.inse.ru (mail.inse.ru [144.206.128.1]) by mx1.freebsd.org (Postfix) with ESMTP id BD2028FC24; Sun, 10 Aug 2008 15:45:50 +0000 (UTC) (envelope-from rik@inse.ru) Received: from www.inse.ru (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTPSA id 6F49533C56; Sun, 10 Aug 2008 19:45:49 +0400 (MSD) Message-ID: <489F0A75.5010100@localhost.inse.ru> Date: Sun, 10 Aug 2008 19:34:13 +0400 From: Roman Kurakin User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Andrey Chernov , Dag-Erling Sm??rgrav , "M. Warner Losh" , kris@FreeBSD.org, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <489B797F.7020101@FreeBSD.org> <20080807230532.GA42775@nagual.pp.ru> <489B81AC.8090508@FreeBSD.org> <20080808.002150.-1037138460.imp@bsdimp.com> <20080808063208.GA51624@nagual.pp.ru> <86myjnerqr.fsf@ds4.des.no> <20080808193109.GA70187@nagual.pp.ru> In-Reply-To: <20080808193109.GA70187@nagual.pp.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/games/fortune/strfile strfile.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 15:45:51 -0000 Hi, Does any one has any technical reason why this change is wrong, or makes smth worse? If this change makes smth better, even a bit, and does not ruin smth, why it does not have a chance for existence? IMHO. rik Andrey Chernov wrote: > On Fri, Aug 08, 2008 at 12:16:44PM +0200, Dag-Erling Sm??rgrav wrote: > >>> 1) PRNG is not crypto. >>> >> Stop spewing nonsense. >> > > Do you have enough education to determene what is nonsense and what is > not here? For example I have master degree in mathematics. > > >> PRNG and crypto are inseparable. >> > > Well separable areas. Various PRNGs can be used in or choosed by crypto. > But no crypto in PRNG itself. > > >> In addition, >> as you very well know, this PRNG is actually the keystream generator for >> the RC4 stream cipher. >> > > Yes, I know. And what? Crypto uses math intensively, not PRNGs only, > hashes etc. > > To confirm my words, OpenBSD uses ar4random() almost everywhere in the > tree, especially after realizing "modulo bias" bug, and use it as "plain" > PRNG even in simplest non-crypto areas. > >