aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-07-26 02:59:14 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-07-31 20:54:00 -0400
commiteaef7e3f3f82923ea175ce4859908bb0d70072f3 (patch)
treea3ae6c376b3df708236b29241d970abb077bc8d1 /drivers/crypto/Kconfig
parent9e01d0c6f63a59cc756c0028e17effdbadee7227 (diff)
crypto: omap-sham - Add SHA384 and SHA512 Support
Adding support for SHA348 and SHA512 in addition to MD5, SHA1, SHA224 SHA256 that the omap sha module supports. In order to add the support - Removed hard coded register offsets and passing offsets from pdata - Updating Flag offsets so that they can be used for SHA256 and SHA512 - Adding the algo info. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 8ff7c230d82e..62fb673b28df 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -242,13 +242,16 @@ config CRYPTO_DEV_PPC4XX
242 This option allows you to have support for AMCC crypto acceleration. 242 This option allows you to have support for AMCC crypto acceleration.
243 243
244config CRYPTO_DEV_OMAP_SHAM 244config CRYPTO_DEV_OMAP_SHAM
245 tristate "Support for OMAP SHA1/MD5 hw accelerator" 245 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
246 depends on ARCH_OMAP2 || ARCH_OMAP3 246 depends on ARCH_OMAP2PLUS
247 select CRYPTO_SHA1 247 select CRYPTO_SHA1
248 select CRYPTO_MD5 248 select CRYPTO_MD5
249 select CRYPTO_SHA256
250 select CRYPTO_SHA512
251 select CRYPTO_HMAC
249 help 252 help
250 OMAP processors have SHA1/MD5 hw accelerator. Select this if you 253 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
251 want to use the OMAP module for SHA1/MD5 algorithms. 254 want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
252 255
253config CRYPTO_DEV_OMAP_AES 256config CRYPTO_DEV_OMAP_AES
254 tristate "Support for OMAP AES hw engine" 257 tristate "Support for OMAP AES hw engine"