crypto: img-hash - Fix Kconfig selections
authorJames Hartley <james.hartley@imgtec.com>
Thu, 19 Mar 2015 16:46:24 +0000 (16:46 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Mar 2015 11:06:47 +0000 (22:06 +1100)
The Kconfig entry for CRYPTO_DEV_IMGTEC_HASH incorrectly selects
CRYPTO_SHA224, which does not exist (and is covered by CRYPTO_SHA256
which covers both 224 and 256). Remove it.

Also correct typo CRYPTO_ALG_API to be CRYPTO_ALGPI.

Reported-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: James Hartley <james.hartley@imgtec.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig

index 8b18b66852691ec409c28fce1888a1721a770e82..800bf41718e185e8337bce952e4f1783412f8741 100644 (file)
@@ -448,10 +448,9 @@ source "drivers/crypto/vmx/Kconfig"
 config CRYPTO_DEV_IMGTEC_HASH
        depends on MIPS || COMPILE_TEST
        tristate "Imagination Technologies hardware hash accelerator"
-       select CRYPTO_ALG_API
+       select CRYPTO_ALGAPI
        select CRYPTO_MD5
        select CRYPTO_SHA1
-       select CRYPTO_SHA224
        select CRYPTO_SHA256
        select CRYPTO_HASH
        help