diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-12-13 05:53:12 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-12-20 02:20:07 -0500 |
commit | feaf0cfc263ec778fa166e96ac6a9ef37854fec9 (patch) | |
tree | 42517903c6df98972a39c3e24cd2617225860af6 /crypto/Kconfig | |
parent | 88715b9ade718564fd8b1318735826370481366b (diff) |
crypto: serpent-sse2 - select LRW and XTS
serpent-sse2 uses functions from LRW and XTS modules, so selecting would appear
to be better option than using #ifdefs in serpent_sse2_glue.c to enable/disable
LRW and XTS features.
This also fixes build problem when serpent-sse2 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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 3cd303b7021..d7d4d4e0ee1 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -770,6 +770,8 @@ config CRYPTO_SERPENT_SSE2_X86_64 | |||
770 | select CRYPTO_ALGAPI | 770 | select CRYPTO_ALGAPI |
771 | select CRYPTO_CRYPTD | 771 | select CRYPTO_CRYPTD |
772 | select CRYPTO_SERPENT | 772 | select CRYPTO_SERPENT |
773 | select CRYPTO_LRW | ||
774 | select CRYPTO_XTS | ||
773 | help | 775 | help |
774 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | 776 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
775 | 777 | ||
@@ -788,6 +790,8 @@ config CRYPTO_SERPENT_SSE2_586 | |||
788 | select CRYPTO_ALGAPI | 790 | select CRYPTO_ALGAPI |
789 | select CRYPTO_CRYPTD | 791 | select CRYPTO_CRYPTD |
790 | select CRYPTO_SERPENT | 792 | select CRYPTO_SERPENT |
793 | select CRYPTO_LRW | ||
794 | select CRYPTO_XTS | ||
791 | help | 795 | help |
792 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | 796 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
793 | 797 | ||