From owner-svn-src-all@FreeBSD.ORG Mon Jul 29 21:37:56 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5D213D14 for ; Mon, 29 Jul 2013 21:37:56 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D45FC225E for ; Mon, 29 Jul 2013 21:37:55 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id r10so357043lbi.29 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=QkhAkFrlZKaO41VqwOJicWXlYLONsCTN44xordsl50GeuUZnIXUFG2d5SgU94i6vnW sO4D/nR23TyBPk+YT2ZwjkapGjRnL5pzzYNLhQmmTlqJkNs8rvhZWbs1ZHAigy4BqB00 Nfk1UTncZ4rRFWhiHm42okhWmRYJPBgd9uk0qqovailf0McYUeaqEtEBLomNwe1Z5ZCc zhfX1r0IrJY/HKjD5uzaYkdKunGVk3PEEmj7YxEnWp34XUlw2gNjcjWg8G+y5FuwaypF Gdorq16ZqwFZF4s3h18nQS6+rdp6hjn2LafF7HcQddSKwFrmdKWeyX17EDWpFJZg5gNx +DRw== 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: ALoCoQmvuLXguxMmzXfWQJ2xlty4tRoV2S23u5QIW/QVCKNO9YKBuURz+yUr3L/u9B0tQf4Zgw5X Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 21:37:56 -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