diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2011-04-19 15:29:18 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-04 01:06:32 -0400 |
commit | df1309ce955a490eac6697a41159b43e24d35995 (patch) | |
tree | fd53613e37728e3774c3343bc31cbf7c6d983750 /drivers/crypto | |
parent | 99d97222150a24e6096805530e141af94183b9a1 (diff) |
crypto: s390 - add System z hardware support for GHASH
This patch adds System z hardware acceleration support for the GHASH
algorithm for GCM (Galois/Counter Mode).
The hardware support is available beginning with System z196.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 78df36adbe6c..d459cc7894d9 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -151,6 +151,16 @@ config S390_PRNG | |||
151 | ANSI X9.17 standard. The PRNG is usable via the char device | 151 | ANSI X9.17 standard. The PRNG is usable via the char device |
152 | /dev/prandom. | 152 | /dev/prandom. |
153 | 153 | ||
154 | config CRYPTO_GHASH_S390 | ||
155 | tristate "GHASH digest algorithm" | ||
156 | depends on S390 | ||
157 | select CRYPTO_HASH | ||
158 | help | ||
159 | This is the s390 hardware accelerated implementation of the | ||
160 | GHASH message digest algorithm for GCM (Galois/Counter Mode). | ||
161 | |||
162 | It is available as of z196. | ||
163 | |||
154 | config CRYPTO_DEV_MV_CESA | 164 | config CRYPTO_DEV_MV_CESA |
155 | tristate "Marvell's Cryptographic Engine" | 165 | tristate "Marvell's Cryptographic Engine" |
156 | depends on PLAT_ORION | 166 | depends on PLAT_ORION |