diff options
author | Andreas Westin <andreas.westin@stericsson.com> | 2012-04-30 04:11:17 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-04 05:04:51 -0400 |
commit | 2789c08fffeae270820dda5d096634aecc810af5 (patch) | |
tree | 113e76a6908b4b786374c53f010c472a3d663514 /drivers/crypto/ux500/Kconfig | |
parent | 028fdd87b79a45544a2b6902989f2cbbf73a3eac (diff) |
crypto: ux500 - Add driver for CRYP hardware
This adds a driver for the ST-Ericsson ux500 crypto hardware
module. It supports AES, DES and 3DES, the driver implements
support for AES-ECB,CBC and CTR.
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 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/crypto/ux500/Kconfig b/drivers/crypto/ux500/Kconfig new file mode 100644 index 000000000000..b893fa061da4 --- /dev/null +++ b/drivers/crypto/ux500/Kconfig | |||
@@ -0,0 +1,21 @@ | |||
1 | # | ||
2 | # Copyright (C) ST-Ericsson SA 2010 | ||
3 | # Author: Shujuan Chen (shujuan.chen@stericsson.com) | ||
4 | # License terms: GNU General Public License (GPL) version 2 | ||
5 | # | ||
6 | |||
7 | config CRYPTO_DEV_UX500_CRYP | ||
8 | tristate "UX500 crypto driver for CRYP block" | ||
9 | depends on CRYPTO_DEV_UX500 | ||
10 | select CRYPTO_DES | ||
11 | help | ||
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. | ||
14 | |||
15 | config CRYPTO_DEV_UX500_DEBUG | ||
16 | bool "Activate ux500 platform debug-mode for crypto and hash block" | ||
17 | depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH | ||
18 | default n | ||
19 | help | ||
20 | Say Y if you want to add debug prints to ux500_hash and | ||
21 | ux500_cryp devices. | ||