Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d358f1ab authored by James Hartley's avatar James Hartley Committed by Herbert Xu
Browse files

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: default avatarJames Hartley <james.hartley@imgtec.com>
Reviewed-by: default avatarAndrew Bresticker <abrestic@chromium.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 73b38621
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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
+1030 −0

File added.

Preview size limit exceeded, changes collapsed.