diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-04-30 04:11:18 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-04 05:04:51 -0400 |
commit | 8a63b1994c500d4825ee73dc71502deffe5b135b (patch) | |
tree | 8495959cd99fba4c8a4a173b016a1cabdd1fe865 /drivers/crypto/ux500/Kconfig | |
parent | 2789c08fffeae270820dda5d096634aecc810af5 (diff) |
crypto: ux500 - Add driver for HASH hardware
This adds a driver for the ST-Ericsson ux500 hash hardware
module. The driver implements support for SHA-1 and SHA-2.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andreas Westin <andreas.westin@stericsson.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ux500/Kconfig')
-rw-r--r-- | drivers/crypto/ux500/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/crypto/ux500/Kconfig b/drivers/crypto/ux500/Kconfig index b893fa061da4..b35e5c4b025a 100644 --- a/drivers/crypto/ux500/Kconfig +++ b/drivers/crypto/ux500/Kconfig | |||
@@ -12,6 +12,15 @@ config CRYPTO_DEV_UX500_CRYP | |||
12 | This selects the crypto driver for the UX500_CRYP hardware. It supports | 12 | This selects the crypto driver for the UX500_CRYP hardware. It supports |
13 | AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes. | 13 | AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes. |
14 | 14 | ||
15 | config CRYPTO_DEV_UX500_HASH | ||
16 | tristate "UX500 crypto driver for HASH block" | ||
17 | depends on CRYPTO_DEV_UX500 | ||
18 | select CRYPTO_HASH | ||
19 | select CRYPTO_HMAC | ||
20 | help | ||
21 | This selects the hash driver for the UX500_HASH hardware. | ||
22 | Depends on UX500/STM DMA if running in DMA mode. | ||
23 | |||
15 | config CRYPTO_DEV_UX500_DEBUG | 24 | config CRYPTO_DEV_UX500_DEBUG |
16 | bool "Activate ux500 platform debug-mode for crypto and hash block" | 25 | bool "Activate ux500 platform debug-mode for crypto and hash block" |
17 | depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH | 26 | depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH |