Skip to content

Commit

Permalink
crypto: img-hash - Add Imagination Technologies hw hash accelerator
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andrew Bresticker <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
James Hartley authored and herbertx committed Mar 16, 2015
1 parent 73b3862 commit d358f1a
Show file tree
Hide file tree
Showing 3 changed files with 1,045 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ obj-$(CONFIG_CRYPTO_DEV_CCP) += ccp/
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam/
obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
obj-$(CONFIG_CRYPTO_DEV_IMGTEC_HASH) += img-hash.o
obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
obj-$(CONFIG_CRYPTO_DEV_MV_CESA) += mv_cesa.o
obj-$(CONFIG_CRYPTO_DEV_MXS_DCP) += mxs-dcp.o
Expand Down
Loading

0 comments on commit d358f1a

Please sign in to comment.