Date: Wed, 21 Mar 2007 03:42:51 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files kmod.mk src/sys/crypto/via padlock.c src/sys/dev/hifn hifn7751.c hifn7751reg.h hifn7751var.h src/sys/dev/safe safe.c src/sys/dev/ubsec ubsec.c src/sys/geom/eli g_eli.c g_eli_crypto.c src/sys/modules/hifn Makefile ... Message-ID: <200703210342.l2L3gpsa074641@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2007-03-21 03:42:51 UTC FreeBSD src repository Modified files: sys/conf files kmod.mk sys/crypto/via padlock.c sys/dev/hifn hifn7751.c hifn7751reg.h hifn7751var.h sys/dev/safe safe.c sys/dev/ubsec ubsec.c sys/geom/eli g_eli.c g_eli_crypto.c sys/modules/hifn Makefile sys/modules/safe Makefile sys/modules/ubsec Makefile sys/netipsec ipsec.c sys/opencrypto crypto.c cryptodev.c cryptodev.h cryptosoft.c cryptosoft.h tools/tools/crypto cryptokeytest.c cryptotest.c Removed files: sys/opencrypto crypto_if.m Log: Overhaul driver/subsystem api's: o make all crypto drivers have a device_t; pseudo drivers like the s/w crypto driver synthesize one o change the api between the crypto subsystem and drivers to use kobj; cryptodev_if.m defines this api o use the fact that all crypto drivers now have a device_t to add support for specifying which of several potential devices to use when doing crypto operations o add new ioctls that allow user apps to select a specific crypto device to use (previous ioctls maintained for compatibility) o overhaul crypto subsystem code to eliminate lots of cruft and hide implementation details from drivers o bring in numerous fixes from Michale Richardson/hifn; mostly for 795x parts o add an optional mechanism for mmap'ing the hifn 795x public key h/w to user space for use by openssl (not enabled by default) o update crypto test tools to use new ioctl's and add cmd line options to specify a device to use for tests These changes will also enable much future work on improving the core crypto subsystem; including proper load balancing and interposing code between the core and drivers to dispatch small operations to the s/w driver as appropriate. These changes were instigated by the work of Michael Richardson. Reviewed by: pjd Approved by: re Revision Changes Path 1.1184 +1 -0 src/sys/conf/files 1.217 +1 -1 src/sys/conf/kmod.mk 1.12 +68 -74 src/sys/crypto/via/padlock.c 1.40 +180 -80 src/sys/dev/hifn/hifn7751.c 1.7 +35 -6 src/sys/dev/hifn/hifn7751reg.h 1.9 +3 -0 src/sys/dev/hifn/hifn7751var.h 1.18 +28 -28 src/sys/dev/safe/safe.c 1.49 +29 -25 src/sys/dev/ubsec/ubsec.c 1.36 +4 -2 src/sys/geom/eli/g_eli.c 1.4 +1 -1 src/sys/geom/eli/g_eli_crypto.c 1.6 +1 -1 src/sys/modules/hifn/Makefile 1.4 +1 -1 src/sys/modules/safe/Makefile 1.6 +1 -1 src/sys/modules/ubsec/Makefile 1.21 +1 -1 src/sys/netipsec/ipsec.c 1.27 +516 -238 src/sys/opencrypto/crypto.c 1.3 +0 -128 src/sys/opencrypto/crypto_if.m (dead) 1.32 +101 -29 src/sys/opencrypto/cryptodev.c 1.24 +55 -50 src/sys/opencrypto/cryptodev.h 1.18 +88 -44 src/sys/opencrypto/cryptosoft.c 1.4 +2 -2 src/sys/opencrypto/cryptosoft.h 1.2 +78 -15 src/tools/tools/crypto/cryptokeytest.c 1.9 +44 -5 src/tools/tools/crypto/cryptotest.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703210342.l2L3gpsa074641>