summaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/crypt_s390.h
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2011-04-19 21:29:18 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-04 15:06:32 +1000
commitdf1309ce955a490eac6697a41159b43e24d35995 (patch)
treefd53613e37728e3774c3343bc31cbf7c6d983750 /arch/s390/crypto/crypt_s390.h
parent99d97222150a24e6096805530e141af94183b9a1 (diff)
downloadop-kernel-dev-df1309ce955a490eac6697a41159b43e24d35995.zip
op-kernel-dev-df1309ce955a490eac6697a41159b43e24d35995.tar.gz
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 'arch/s390/crypto/crypt_s390.h')
-rw-r--r--arch/s390/crypto/crypt_s390.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/crypto/crypt_s390.h b/arch/s390/crypto/crypt_s390.h
index 7cbfaf0..eb2e391 100644
--- a/arch/s390/crypto/crypt_s390.h
+++ b/arch/s390/crypto/crypt_s390.h
@@ -91,6 +91,7 @@ enum crypt_s390_kimd_func {
KIMD_SHA_1 = CRYPT_S390_KIMD | 1,
KIMD_SHA_256 = CRYPT_S390_KIMD | 2,
KIMD_SHA_512 = CRYPT_S390_KIMD | 3,
+ KIMD_GHASH = CRYPT_S390_KIMD | 65,
};
/*
OpenPOWER on IntegriCloud