diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-10 07:29:44 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-10 07:29:44 -0500 |
commit | 6a0fcbb4dad15f02ca8f8ae6324fcd3fc43b9d35 (patch) | |
tree | 30bd7a1a6230e414d484bfee891af2bfcad0da93 /crypto/Makefile | |
parent | 437f2f91d6597c67662f847d9ed4c99cb3c440cd (diff) |
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>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 5862b807334e..cd4a4ed078ff 100644 --- a/crypto/Makefile +++ b/crypto/Makefile | |||
@@ -9,24 +9,24 @@ obj-$(CONFIG_CRYPTO_FIPS) += fips.o | |||
9 | 9 | ||
10 | crypto_algapi-$(CONFIG_PROC_FS) += proc.o | 10 | crypto_algapi-$(CONFIG_PROC_FS) += proc.o |
11 | crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y) | 11 | crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y) |
12 | obj-$(CONFIG_CRYPTO_ALGAPI) += crypto_algapi.o | 12 | obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o |
13 | 13 | ||
14 | obj-$(CONFIG_CRYPTO_AEAD) += aead.o | 14 | obj-$(CONFIG_CRYPTO_AEAD2) += aead.o |
15 | 15 | ||
16 | crypto_blkcipher-objs := ablkcipher.o | 16 | crypto_blkcipher-objs := ablkcipher.o |
17 | crypto_blkcipher-objs += blkcipher.o | 17 | crypto_blkcipher-objs += blkcipher.o |
18 | obj-$(CONFIG_CRYPTO_BLKCIPHER) += crypto_blkcipher.o | 18 | obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o |
19 | obj-$(CONFIG_CRYPTO_BLKCIPHER) += chainiv.o | 19 | obj-$(CONFIG_CRYPTO_BLKCIPHER2) += chainiv.o |
20 | obj-$(CONFIG_CRYPTO_BLKCIPHER) += eseqiv.o | 20 | obj-$(CONFIG_CRYPTO_BLKCIPHER2) += eseqiv.o |
21 | obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o | 21 | obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o |
22 | 22 | ||
23 | crypto_hash-objs := hash.o | 23 | crypto_hash-objs := hash.o |
24 | crypto_hash-objs += ahash.o | 24 | crypto_hash-objs += ahash.o |
25 | obj-$(CONFIG_CRYPTO_HASH) += crypto_hash.o | 25 | obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o |
26 | 26 | ||
27 | cryptomgr-objs := algboss.o testmgr.o | 27 | cryptomgr-objs := algboss.o testmgr.o |
28 | 28 | ||
29 | obj-$(CONFIG_CRYPTO_MANAGER) += cryptomgr.o | 29 | obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o |
30 | obj-$(CONFIG_CRYPTO_HMAC) += hmac.o | 30 | obj-$(CONFIG_CRYPTO_HMAC) += hmac.o |
31 | obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o | 31 | obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o |
32 | obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o | 32 | obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o |
@@ -73,8 +73,8 @@ obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o | |||
73 | obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o | 73 | obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o |
74 | obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o | 74 | obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o |
75 | obj-$(CONFIG_CRYPTO_LZO) += lzo.o | 75 | obj-$(CONFIG_CRYPTO_LZO) += lzo.o |
76 | obj-$(CONFIG_CRYPTO_RNG) += rng.o | 76 | obj-$(CONFIG_CRYPTO_RNG2) += rng.o |
77 | obj-$(CONFIG_CRYPTO_RNG) += krng.o | 77 | obj-$(CONFIG_CRYPTO_RNG2) += krng.o |
78 | obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o | 78 | obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o |
79 | obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o | 79 | obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o |
80 | 80 | ||