From owner-cvs-all Mon Oct 7 13: 2:37 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 C4CA537B401; Mon, 7 Oct 2002 13:02:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 874E143E9E; Mon, 7 Oct 2002 13:02:35 -0700 (PDT) (envelope-from sam@FreeBSD.org) Received: from freefall.freebsd.org (sam@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g97K2ZCo034067; Mon, 7 Oct 2002 13:02:35 -0700 (PDT) (envelope-from sam@freefall.freebsd.org) Received: (from sam@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g97K2Z7D034066; Mon, 7 Oct 2002 13:02:35 -0700 (PDT) Message-Id: <200210072002.g97K2Z7D034066@freefall.freebsd.org> From: Sam Leffler Date: Mon, 7 Oct 2002 13:02:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ubsec ubsec.c ubsecreg.h ubsecvar.h 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 sam 2002/10/07 13:02:35 PDT Modified files: sys/dev/ubsec ubsec.c ubsecreg.h ubsecvar.h Log: Track openbsd changes that don't affect us yet (PK supoprt is currently disabled): o Don't use constants for the output parameter, use the iparam count as a pointer to the first result location. o Fix bits vs bytes counting problems. o Split out the hardware and software normalization versions of modexp. o Enable hardware normalization for chips that support it. o On reset, disable hardware normalization for 582x and make sure the chip is in little endian mode. o Since sw normalization is now the only option, simplify normalization handling. Also fix RNG harvesting: disabling PK support (for the moment) had disabled the MCR2 interrupt; consider both KEY support and RNG support when deciding whether or not to enable it. Obtained from: openbsd Revision Changes Path 1.2 +249 -22 src/sys/dev/ubsec/ubsec.c 1.2 +7 -5 src/sys/dev/ubsec/ubsecreg.h 1.2 +2 -1 src/sys/dev/ubsec/ubsecvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message