Commit 43518407 authored by Herbert Xu's avatar Herbert Xu

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9765d262
...@@ -27,7 +27,6 @@ config CRYPTO_HASH ...@@ -27,7 +27,6 @@ config CRYPTO_HASH
config CRYPTO_MANAGER config CRYPTO_MANAGER
tristate "Cryptographic algorithm manager" tristate "Cryptographic algorithm manager"
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
default m
help help
Create default cryptographic template instantiations such as Create default cryptographic template instantiations such as
cbc(aes). cbc(aes).
...@@ -35,6 +34,7 @@ config CRYPTO_MANAGER ...@@ -35,6 +34,7 @@ config CRYPTO_MANAGER
config CRYPTO_HMAC config CRYPTO_HMAC
tristate "HMAC support" tristate "HMAC support"
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_MANAGER
help help
HMAC: Keyed-Hashing for Message Authentication (RFC2104). HMAC: Keyed-Hashing for Message Authentication (RFC2104).
This is required for IPSec. This is required for IPSec.
...@@ -131,6 +131,7 @@ config CRYPTO_TGR192 ...@@ -131,6 +131,7 @@ config CRYPTO_TGR192
config CRYPTO_ECB config CRYPTO_ECB
tristate "ECB support" tristate "ECB support"
select CRYPTO_BLKCIPHER select CRYPTO_BLKCIPHER
select CRYPTO_MANAGER
default m default m
help help
ECB: Electronic CodeBook mode ECB: Electronic CodeBook mode
...@@ -140,6 +141,7 @@ config CRYPTO_ECB ...@@ -140,6 +141,7 @@ config CRYPTO_ECB
config CRYPTO_CBC config CRYPTO_CBC
tristate "CBC support" tristate "CBC support"
select CRYPTO_BLKCIPHER select CRYPTO_BLKCIPHER
select CRYPTO_MANAGER
default m default m
help help
CBC: Cipher Block Chaining mode CBC: Cipher Block Chaining mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment