diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-10-16 07:28:58 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-10-16 07:28:58 -0400 |
commit | 43518407d57f1b685f5a9f1a981734ce66a21f76 (patch) | |
tree | 12186aa4d2ebb6b3c5ac583aa871a7a498340f16 /crypto/Kconfig | |
parent | 9765d262b8230b735c4b2815b041c09a00833cf1 (diff) |
[CRYPTO] api: Select cryptomgr where needed
Since cryptomgr is the only way to construct algorithm instances
for now it makes sense to let the templates depend on it as
otherwise it may be left off inadvertently.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 1e2f39c21180..cbae8392ce11 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -27,7 +27,6 @@ config CRYPTO_HASH | |||
27 | config CRYPTO_MANAGER | 27 | config CRYPTO_MANAGER |
28 | tristate "Cryptographic algorithm manager" | 28 | tristate "Cryptographic algorithm manager" |
29 | select CRYPTO_ALGAPI | 29 | select CRYPTO_ALGAPI |
30 | default m | ||
31 | help | 30 | help |
32 | Create default cryptographic template instantiations such as | 31 | Create default cryptographic template instantiations such as |
33 | cbc(aes). | 32 | cbc(aes). |
@@ -35,6 +34,7 @@ config CRYPTO_MANAGER | |||
35 | config CRYPTO_HMAC | 34 | config CRYPTO_HMAC |
36 | tristate "HMAC support" | 35 | tristate "HMAC support" |
37 | select CRYPTO_HASH | 36 | select CRYPTO_HASH |
37 | select CRYPTO_MANAGER | ||
38 | help | 38 | help |
39 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). | 39 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
40 | This is required for IPSec. | 40 | This is required for IPSec. |
@@ -131,6 +131,7 @@ config CRYPTO_TGR192 | |||
131 | config CRYPTO_ECB | 131 | config CRYPTO_ECB |
132 | tristate "ECB support" | 132 | tristate "ECB support" |
133 | select CRYPTO_BLKCIPHER | 133 | select CRYPTO_BLKCIPHER |
134 | select CRYPTO_MANAGER | ||
134 | default m | 135 | default m |
135 | help | 136 | help |
136 | ECB: Electronic CodeBook mode | 137 | ECB: Electronic CodeBook mode |
@@ -140,6 +141,7 @@ config CRYPTO_ECB | |||
140 | config CRYPTO_CBC | 141 | config CRYPTO_CBC |
141 | tristate "CBC support" | 142 | tristate "CBC support" |
142 | select CRYPTO_BLKCIPHER | 143 | select CRYPTO_BLKCIPHER |
144 | select CRYPTO_MANAGER | ||
143 | default m | 145 | default m |
144 | help | 146 | help |
145 | CBC: Cipher Block Chaining mode | 147 | CBC: Cipher Block Chaining mode |