summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-12-13 12:53:01 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-12-20 15:20:06 +0800
commit956a9c2ba0cfe8adf5eade0f77651d6f18f881d3 (patch)
tree98c0ff3062e59243c72b7f65bff7fbd57f80a22d /crypto
parentb5a25b465e121f73b0b7530d12867aba89f5767b (diff)
downloadlinux-crypto-956a9c2ba0cfe8adf5eade0f77651d6f18f881d3.tar.gz
linux-crypto-956a9c2ba0cfe8adf5eade0f77651d6f18f881d3.zip
crypto: twofish-x86_64-3way - select LRW and XTS
twofish-x86_64-3way uses functions from LRW and XTS modules, so selecting would appear to be better option than using #ifdefs in twofish_glue_3way.c to enable/disable LRW and XTS features. This also fixes build problem when twofish-x86_64-3way would be build into kernel but XTS/LRW are build as modules. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--crypto/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index a77cd8ee..3cd303b7 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -876,6 +876,8 @@ config CRYPTO_TWOFISH_X86_64_3WAY
select CRYPTO_ALGAPI
select CRYPTO_TWOFISH_COMMON
select CRYPTO_TWOFISH_X86_64
+ select CRYPTO_LRW
+ select CRYPTO_XTS
help
Twofish cipher algorithm (x86_64, 3-way parallel).