Commit feaf0cfc authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu

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: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 88715b9a
...@@ -770,6 +770,8 @@ config CRYPTO_SERPENT_SSE2_X86_64 ...@@ -770,6 +770,8 @@ config CRYPTO_SERPENT_SSE2_X86_64
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_CRYPTD select CRYPTO_CRYPTD
select CRYPTO_SERPENT select CRYPTO_SERPENT
select CRYPTO_LRW
select CRYPTO_XTS
help help
Serpent cipher algorithm, by Anderson, Biham & Knudsen. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
...@@ -788,6 +790,8 @@ config CRYPTO_SERPENT_SSE2_586 ...@@ -788,6 +790,8 @@ config CRYPTO_SERPENT_SSE2_586
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_CRYPTD select CRYPTO_CRYPTD
select CRYPTO_SERPENT select CRYPTO_SERPENT
select CRYPTO_LRW
select CRYPTO_XTS
help help
Serpent cipher algorithm, by Anderson, Biham & Knudsen. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
......
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