diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-12-13 05:53:01 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-12-20 02:20:06 -0500 |
commit | e7cda5d27ed3febf277fe410687c977ae1a31a25 (patch) | |
tree | 71a5775022350e2d33972221a06dedec6c5aed40 /crypto/Kconfig | |
parent | 5bcf8e6dd49fec57b5dd96a643c53a048272b625 (diff) |
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 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index a77cd8eee884..3cd303b70218 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -876,6 +876,8 @@ config CRYPTO_TWOFISH_X86_64_3WAY | |||
876 | select CRYPTO_ALGAPI | 876 | select CRYPTO_ALGAPI |
877 | select CRYPTO_TWOFISH_COMMON | 877 | select CRYPTO_TWOFISH_COMMON |
878 | select CRYPTO_TWOFISH_X86_64 | 878 | select CRYPTO_TWOFISH_X86_64 |
879 | select CRYPTO_LRW | ||
880 | select CRYPTO_XTS | ||
879 | help | 881 | help |
880 | Twofish cipher algorithm (x86_64, 3-way parallel). | 882 | Twofish cipher algorithm (x86_64, 3-way parallel). |
881 | 883 | ||