diff options
author | James Hartley <james.hartley@imgtec.com> | 2015-03-19 12:46:24 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-23 07:06:47 -0400 |
commit | cfa8e7e70341c6ba1c7bd3466784a217e441b8c6 (patch) | |
tree | f759bec7834b00fae4ab48c4c075927cff44c104 | |
parent | 0b053c9518292705736329a8fe20ef4686ffc8e9 (diff) |
crypto: img-hash - Fix Kconfig selections
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>
-rw-r--r-- | drivers/crypto/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 8b18b6685269..800bf41718e1 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -448,10 +448,9 @@ source "drivers/crypto/vmx/Kconfig" | |||
448 | config CRYPTO_DEV_IMGTEC_HASH | 448 | config CRYPTO_DEV_IMGTEC_HASH |
449 | depends on MIPS || COMPILE_TEST | 449 | depends on MIPS || COMPILE_TEST |
450 | tristate "Imagination Technologies hardware hash accelerator" | 450 | tristate "Imagination Technologies hardware hash accelerator" |
451 | select CRYPTO_ALG_API | 451 | select CRYPTO_ALGAPI |
452 | select CRYPTO_MD5 | 452 | select CRYPTO_MD5 |
453 | select CRYPTO_SHA1 | 453 | select CRYPTO_SHA1 |
454 | select CRYPTO_SHA224 | ||
455 | select CRYPTO_SHA256 | 454 | select CRYPTO_SHA256 |
456 | select CRYPTO_HASH | 455 | select CRYPTO_HASH |
457 | help | 456 | help |