crypto: caam - fix typo "CRYPTO_AHASH"
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 5 Mar 2013 13:33:16 +0000 (14:33 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 10 Mar 2013 10:16:36 +0000 (18:16 +0800)
The Kconfig entry for CAAM's hash algorithm implementations has always
selected CRYPTO_AHASH. But there's no corresponding Kconfig symbol.

It seems it was intended to select CRYPTO_HASH, like other crypto
drivers do. That would apparently (indirectly) select CRYPTO_HASH2,
which would enable the ahash functionality this driver uses.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Reviewed-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/Kconfig

index 65c7668..b44091c 100644 (file)
@@ -78,7 +78,7 @@ config CRYPTO_DEV_FSL_CAAM_AHASH_API
        tristate "Register hash algorithm implementations with Crypto API"
        depends on CRYPTO_DEV_FSL_CAAM
        default y
-       select CRYPTO_AHASH
+       select CRYPTO_HASH
        help
          Selecting this will offload ahash for users of the
          scatterlist crypto API to the SEC4 via job ring.