aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2011-04-26 02:12:42 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-04 01:06:30 -0400
commit99d97222150a24e6096805530e141af94183b9a1 (patch)
treeefe6ac0e8fee6230b0dce3846ab0c0e93e1c5c8e /drivers
parent98971f8439b1bb9a61682fe24a865ddd25167a6b (diff)
crypto: s390 - add System z hardware support for XTS mode
This patch adds System z hardware acceleration support for the AES XTS 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')
-rw-r--r--drivers/crypto/Kconfig22
1 files changed, 8 insertions, 14 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 7957acbf76a2..78df36adbe6c 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -131,20 +131,14 @@ config CRYPTO_AES_S390
131 select CRYPTO_BLKCIPHER 131 select CRYPTO_BLKCIPHER
132 help 132 help
133 This is the s390 hardware accelerated implementation of the 133 This is the s390 hardware accelerated implementation of the
134 AES cipher algorithms (FIPS-197). AES uses the Rijndael 134 AES cipher algorithms (FIPS-197).
135 algorithm. 135
136 136 As of z9 the ECB and CBC modes are hardware accelerated
137 Rijndael appears to be consistently a very good performer in 137 for 128 bit keys.
138 both hardware and software across a wide range of computing 138 As of z10 the ECB and CBC modes are hardware accelerated
139 environments regardless of its use in feedback or non-feedback 139 for all AES key sizes.
140 modes. Its key setup time is excellent, and its key agility is 140 As of z196 the XTS mode is hardware accelerated for 256 and
141 good. Rijndael's very low memory requirements make it very well 141 512 bit keys.
142 suited for restricted-space environments, in which it also
143 demonstrates excellent performance. Rijndael's operations are
144 among the easiest to defend against power and timing attacks.
145
146 On s390 the System z9-109 currently only supports the key size
147 of 128 bit.
148 142
149config S390_PRNG 143config S390_PRNG
150 tristate "Pseudo random number generator device driver" 144 tristate "Pseudo random number generator device driver"