Date: Mon, 7 Oct 2002 13:02:35 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ubsec ubsec.c ubsecreg.h ubsecvar.h Message-ID: <200210072002.g97K2Z7D034066@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210072002.g97K2Z7D034066>
