summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorJames Hartley2015-03-13 00:17:26 +0100
committerHerbert Xu2015-03-16 11:46:24 +0100
commitd358f1abbf71ad4b10e843b589033e5d37142436 (patch)
tree61d72085809a53dfc57707ea022378ddda6c3440 /drivers/crypto/Kconfig
parenthwrng: iproc-rng200 - make use of devm_hwrng_register (diff)
downloadkernel-qcow2-linux-d358f1abbf71ad4b10e843b589033e5d37142436.tar.gz
kernel-qcow2-linux-d358f1abbf71ad4b10e843b589033e5d37142436.tar.xz
kernel-qcow2-linux-d358f1abbf71ad4b10e843b589033e5d37142436.zip
crypto: img-hash - Add Imagination Technologies hw hash accelerator
This adds support for the Imagination Technologies hash accelerator which provides hardware acceleration for SHA1 SHA224 SHA256 and MD5 hashes. Signed-off-by: James Hartley <james.hartley@imgtec.com> Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 9dd34bc3f541..8b18b6685269 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -445,4 +445,18 @@ config CRYPTO_DEV_VMX
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_MD5
+ select CRYPTO_SHA1
+ select CRYPTO_SHA224
+ select CRYPTO_SHA256
+ select CRYPTO_HASH
+ help
+ This driver interfaces with the Imagination Technologies
+ hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
+ hashing algorithms.
+
endif # CRYPTO_HW