Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: caam - fix typo "CRYPTO_AHASH"

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>

authored by

Paul Bolle and committed by
Herbert Xu
ae8488a5 02613702

+1 -1
+1 -1
drivers/crypto/caam/Kconfig
··· 78 78 tristate "Register hash algorithm implementations with Crypto API" 79 79 depends on CRYPTO_DEV_FSL_CAAM 80 80 default y 81 - select CRYPTO_AHASH 81 + select CRYPTO_HASH 82 82 help 83 83 Selecting this will offload ahash for users of the 84 84 scatterlist crypto API to the SEC4 via job ring.