crypto: serpent-sse2 - should select CRYPTO_CRYPTD
Jussi Kivilinna [Thu, 24 Nov 2011 06:37:41 +0000 (08:37 +0200)]
Since serpent_sse2_glue.c uses cryptd, CRYPTO_SERPENT_SSE2_X86_64 and
CRYPTO_SERPENT_SSE2_586 should be selecting CRYPTO_CRYPTD.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

crypto/Kconfig

index 16e0c13..b8d1b10 100644 (file)
@@ -770,6 +770,7 @@ config CRYPTO_SERPENT_SSE2_X86_64
        tristate "Serpent cipher algorithm (x86_64/SSE2)"
        depends on X86 && 64BIT
        select CRYPTO_ALGAPI
+       select CRYPTO_CRYPTD
        select CRYPTO_SERPENT
        help
          Serpent cipher algorithm, by Anderson, Biham & Knudsen.
@@ -787,6 +788,7 @@ config CRYPTO_SERPENT_SSE2_586
        tristate "Serpent cipher algorithm (i586/SSE2)"
        depends on X86 && !64BIT
        select CRYPTO_ALGAPI
+       select CRYPTO_CRYPTD
        select CRYPTO_SERPENT
        help
          Serpent cipher algorithm, by Anderson, Biham & Knudsen.