diff options
| author | James Hartley <james.hartley@imgtec.com> | 2015-03-12 19:17:26 -0400 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-16 06:46:24 -0400 |
| commit | d358f1abbf71ad4b10e843b589033e5d37142436 (patch) | |
| tree | 61d72085809a53dfc57707ea022378ddda6c3440 /drivers/crypto/Kconfig | |
| parent | 73b3862127e71d8cc7677b07ccc5adff0c0179bd (diff) | |
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/Kconfig | 14 |
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 | |||
| 445 | 445 | ||
| 446 | source "drivers/crypto/vmx/Kconfig" | 446 | source "drivers/crypto/vmx/Kconfig" |
| 447 | 447 | ||
| 448 | config CRYPTO_DEV_IMGTEC_HASH | ||
| 449 | depends on MIPS || COMPILE_TEST | ||
| 450 | tristate "Imagination Technologies hardware hash accelerator" | ||
| 451 | select CRYPTO_ALG_API | ||
| 452 | select CRYPTO_MD5 | ||
| 453 | select CRYPTO_SHA1 | ||
| 454 | select CRYPTO_SHA224 | ||
| 455 | select CRYPTO_SHA256 | ||
| 456 | select CRYPTO_HASH | ||
| 457 | help | ||
| 458 | This driver interfaces with the Imagination Technologies | ||
| 459 | hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256 | ||
| 460 | hashing algorithms. | ||
| 461 | |||
| 448 | endif # CRYPTO_HW | 462 | endif # CRYPTO_HW |
