Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2006 00:59:02 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 111092 for review
Message-ID:  <200612050059.kB50x2i3083637@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111092

Change 111092 by sam@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612050059.kB50x2i3083637>