From owner-cvs-all Mon Jul 15 6:58:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0391137B400; Mon, 15 Jul 2002 06:58:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE4643E65; Mon, 15 Jul 2002 06:58:35 -0700 (PDT) (envelope-from markm@FreeBSD.org) Received: from freefall.freebsd.org (markm@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6FDwZJU012332; Mon, 15 Jul 2002 06:58:35 -0700 (PDT) (envelope-from markm@freefall.freebsd.org) Received: (from markm@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6FDwZBN012331; Mon, 15 Jul 2002 06:58:35 -0700 (PDT) Message-Id: <200207151358.g6FDwZBN012331@freefall.freebsd.org> From: Mark Murray Date: Mon, 15 Jul 2002 06:58:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/random hash.c hash.h yarrow.c src/sys/modules/random Makefile X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG markm 2002/07/15 06:58:35 PDT Modified files: sys/conf files sys/dev/random hash.c hash.h yarrow.c sys/modules/random Makefile Log: Upgrade the random device to use a "real" hash instead of building one out of a block cipher. This has 2 advantages: 1) The code is _much_ simpler 2) We aren't committing our security to one algorithm (much as we may think we trust AES). While I'm here, make an explicit reseed do a slow reseed instead of a fast; this is in line with what the original paper suggested. Revision Changes Path 1.661 +1 -0 src/sys/conf/files 1.8 +6 -44 src/sys/dev/random/hash.c 1.4 +2 -6 src/sys/dev/random/hash.h 1.39 +3 -4 src/sys/dev/random/yarrow.c 1.13 +2 -1 src/sys/modules/random/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message