From owner-svn-src-all@FreeBSD.ORG Mon Nov 10 09:55:37 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B02DAF0; Mon, 10 Nov 2014 09:55:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77477A39; Mon, 10 Nov 2014 09:55:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAA9tbiK066798; Mon, 10 Nov 2014 09:55:37 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAA9tZVR066792; Mon, 10 Nov 2014 09:55:35 GMT (envelope-from des@FreeBSD.org) Message-Id: <201411100955.sAA9tZVR066792@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: des set sender to des@FreeBSD.org using -f From: Dag-Erling Smørgrav Date: Mon, 10 Nov 2014 09:55:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274341 - in head/sys: crypto/rijndael dev/random geom/bde X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 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, 10 Nov 2014 09:55:37 -0000 Author: des Date: Mon Nov 10 09:55:35 2014 New Revision: 274341 URL: https://svnweb.freebsd.org/changeset/base/274341 Log: I just realized that the previous commit message makes no sense: the first sentence should have read "Constify the AES and SHA-256 code and wrappers". This allows us to feed zero_region (which is const) to the hash function during reseeding and thereby implement the FS&K version of SHAd-256 instead of the older F&S version. Approved by: so (self) Modified: head/sys/crypto/rijndael/rijndael-api-fst.c head/sys/crypto/rijndael/rijndael-api-fst.h head/sys/dev/random/fortuna.c head/sys/dev/random/hash.c head/sys/dev/random/hash.h head/sys/geom/bde/g_bde.h Modified: head/sys/crypto/rijndael/rijndael-api-fst.c ============================================================================== Modified: head/sys/crypto/rijndael/rijndael-api-fst.h ============================================================================== Modified: head/sys/dev/random/fortuna.c ============================================================================== Modified: head/sys/dev/random/hash.c ============================================================================== Modified: head/sys/dev/random/hash.h ============================================================================== Modified: head/sys/geom/bde/g_bde.h ==============================================================================