From owner-svn-src-head@FreeBSD.ORG Mon Jul 29 21:37:51 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 19162D06 for ; Mon, 29 Jul 2013 21:37:51 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 906342259 for ; Mon, 29 Jul 2013 21:37:50 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id 13so1142139lba.34 for ; Mon, 29 Jul 2013 14:37:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:openpgp:content-type :content-transfer-encoding:x-gm-message-state; bh=93g7xk0lFkvKywjtNawzIQa5JBHuMIg4gSmMwHgVcOI=; b=SCOR5HuUK5NZv7Lkj1YraUdugPlV1pR9j4442WcR1NxJBa8aFaZsywVzvVJARI+/92 MxhmmR1e/CgONNTuGY+DdO3yDrahTMo21nMVvrWfJNGYxMbdljtrqa9w1TcKfq8cvexZ wKPOtSTPpKP3mFP4dIdyX0F/Nrr5XHwxUHfukbzwwCprF3VawaSEZTKn62a3NY1eoeC0 5uWpR4oBvuWLIiwvWwDSilln/IHklDfUHrM3QbIOfR2HAtB8UMkks/7z33m9stNDj0ui XgZUNFyLszOqqZNYEK6invZZETXRtxPHS51EGo+3IXnWhi756jQlr+uGYpmhDcEi4yy6 dhyQ== X-Received: by 10.112.168.137 with SMTP id zw9mr5587326lbb.93.1375133868140; Mon, 29 Jul 2013 14:37:48 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id 8sm6860147lbq.4.2013.07.29.14.37.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Jul 2013 14:37:47 -0700 (PDT) Message-ID: <51F6E0AB.3010001@freebsd.org> Date: Tue, 30 Jul 2013 01:37:47 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: "David E. O'Brien" Subject: Re: svn commit: r253786 - in head/sys: dev/random modules/padlock_rng modules/rdrand_rng modules/yarrow_rng References: <201307292058.r6TKwA56031193@svn.freebsd.org> In-Reply-To: <201307292058.r6TKwA56031193@svn.freebsd.org> OpenPGP: id=964474DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl5uyndl6h5HkoZIoJqm/Ev8KbT1VKX1SMM81iI6HWyFgeBPIvmK3Lcuf2fZrK+ftTQ1BwG Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 21:37:51 -0000 On 30.07.2013 0:58, David E. O'Brien wrote: > Author: obrien > Date: Mon Jul 29 20:58:09 2013 > New Revision: 253786 > URL: http://svnweb.freebsd.org/changeset/base/253786 > > Log: > Decouple yarrow from random(4) device. > > * Make Yarrow an optional kernel component -- enabled by "YARROW_RNG" option. > The files sha2.c, hash.c, randomdev_soft.c and yarrow.c comprise yarrow. ... > We currently have 3 random_adaptors: > + yarrow > + rdrand (ivy.c) > + nehemeiah After this commit we again have a problem with badly initialized arc4 (for rdrand and nehemiah cases, when yarrow isn't loaded), because only yarrow have reinit code. -- http://ache.vniz.net/ bitcoin:1G6ugdNY6e5jx1GVnAU2ntj2NEfmjKG85r