From owner-cvs-all@FreeBSD.ORG Fri Aug 8 19:31:22 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 D71DC1065671; Fri, 8 Aug 2008 19:31:22 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 4650E8FC1F; Fri, 8 Aug 2008 19:31:21 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m78JVFJ2070390; Fri, 8 Aug 2008 23:31:16 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1218223876; bh=bfpXLHwhKHNtKsQz4jwq+J0SxDC7YVZ3yc8HJ9U 8g+0=; l=839; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=rHXD5CK+zAeMITUXbMC7zwKQz ukTPVCVQbx/kZpO7jrxKIbVvqFqfE6VLqXw1jnO+RH1gN6XKsmj6I18j6eXZiNruAJA RhI4Hqkq+DH/ClTdpneA9RW8I6H05naJuJvqbstMHM7MVj10VBxnnG05sjwqySt4Ohr D97Vj29ZDqMs= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m78JVCBj070389; Fri, 8 Aug 2008 23:31:12 +0400 (MSD) (envelope-from ache) Date: Fri, 8 Aug 2008 23:31:10 +0400 From: Andrey Chernov To: Dag-Erling Sm??rgrav Message-ID: <20080808193109.GA70187@nagual.pp.ru> Mail-Followup-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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86myjnerqr.fsf@ds4.des.no> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: cvs-src@FreeBSD.org, kris@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "M. Warner Losh" Subject: Re: cvs commit: src/games/fortune/strfile strfile.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: Fri, 08 Aug 2008 19:31:23 -0000 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. -- http://ache.pp.ru/