crypto: api - Disallow cryptomgr as a module if algorithms are built-in
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Dec 2008 12:29:44 +0000 (23:29 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Dec 2008 12:29:44 +0000 (23:29 +1100)
commit6a0fcbb4dad15f02ca8f8ae6324fcd3fc43b9d35
tree30bd7a1a6230e414d484bfee891af2bfcad0da93
parent437f2f91d6597c67662f847d9ed4c99cb3c440cd
crypto: api - Disallow cryptomgr as a module if algorithms are built-in

If we have at least one algorithm built-in then it no longer makes
sense to have the testing framework, and hence cryptomgr to be a
module.  It should be either on or off, i.e., built-in or disabled.

This just happens to stop a potential runaway modprobe loop that
seems to trigger on at least one distro.

With fixes from Evgeniy Polyakov.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile