summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-03-21 21:12:19 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-03-21 21:12:19 +0800
commit949abe574739848b1e68271fbac86c3cb4506aad (patch)
tree088c6729e2854d0a5f2db87a23b82f0c6ce62cac /arch
parente88cd6ff2ce14ed7025d253b7f7f468d38415f77 (diff)
downloadlinux-stable-949abe574739848b1e68271fbac86c3cb4506aad.tar.gz
linux-stable-949abe574739848b1e68271fbac86c3cb4506aad.tar.bz2
linux-stable-949abe574739848b1e68271fbac86c3cb4506aad.zip
crypto: sha512-s390 - Add missing block size
I missed the block size when converting sha512-s390 to shash. Tested-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/crypto/sha512_s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/crypto/sha512_s390.c b/arch/s390/crypto/sha512_s390.c
index 420acf41b727..83192bfc8048 100644
--- a/arch/s390/crypto/sha512_s390.c
+++ b/arch/s390/crypto/sha512_s390.c
@@ -84,6 +84,7 @@ static struct shash_alg sha384_alg = {
.cra_driver_name= "sha384-s390",
.cra_priority = CRYPT_S390_PRIORITY,
.cra_flags = CRYPTO_ALG_TYPE_SHASH,
+ .cra_blocksize = SHA384_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct s390_sha_ctx),
.cra_module = THIS_MODULE,
}