PERFORCE change 111092 for review

Sam Leffler sam at FreeBSD.org
Mon Dec 4 16:59:08 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111092

Change 111092 by sam at sam_ebb on 2006/12/05 00:58:48

	split s/w crypto driver into it's own module; have it
	bundled in the crypto module leads to problems as we
	cannot easily order the cryptosoft device detach
	before the crypto module unload (resulting in reference
	to a mutex that's been destroyed)

Affected files ...

.. //depot/projects/crypto/sys/modules/Makefile#2 edit
.. //depot/projects/crypto/sys/modules/crypto/Makefile#3 edit
.. //depot/projects/crypto/sys/modules/cryptosoft/Makefile#1 add

Differences ...

==== //depot/projects/crypto/sys/modules/Makefile#2 (text+ko) ====

@@ -58,6 +58,7 @@
 	${_cpufreq} \
 	${_crypto} \
 	${_cryptodev} \
+	${_cryptosoft} \
 	${_cs} \
 	${_ctau} \
 	cue \
@@ -312,6 +313,7 @@
 .if exists(${.CURDIR}/../opencrypto)
 _crypto=	crypto
 _cryptodev=	cryptodev
+_cryptosoft=	cryptosoft
 .endif
 .if exists(${.CURDIR}/../crypto)
 _random=	random

==== //depot/projects/crypto/sys/modules/crypto/Makefile#3 (text+ko) ====

@@ -9,7 +9,7 @@
 
 KMOD	= crypto
 SRCS	= crypto.c cryptodev_if.c
-SRCS	+= criov.c cryptosoft.c xform.c
+SRCS	+= criov.c xform.c
 SRCS	+= cast.c deflate.c rmd160.c rijndael-alg-fst.c rijndael-api.c
 SRCS	+= skipjack.c bf_enc.c bf_skey.c
 SRCS	+= des_ecb.c des_enc.c des_setkey.c


More information about the p4-projects mailing list