diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-21 09:12:19 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-21 09:12:19 -0400 |
commit | 949abe574739848b1e68271fbac86c3cb4506aad (patch) | |
tree | 088c6729e2854d0a5f2db87a23b82f0c6ce62cac /arch/s390/crypto | |
parent | e88cd6ff2ce14ed7025d253b7f7f468d38415f77 (diff) |
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/s390/crypto')
-rw-r--r-- | arch/s390/crypto/sha512_s390.c | 1 |
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 = { | |||
84 | .cra_driver_name= "sha384-s390", | 84 | .cra_driver_name= "sha384-s390", |
85 | .cra_priority = CRYPT_S390_PRIORITY, | 85 | .cra_priority = CRYPT_S390_PRIORITY, |
86 | .cra_flags = CRYPTO_ALG_TYPE_SHASH, | 86 | .cra_flags = CRYPTO_ALG_TYPE_SHASH, |
87 | .cra_blocksize = SHA384_BLOCK_SIZE, | ||
87 | .cra_ctxsize = sizeof(struct s390_sha_ctx), | 88 | .cra_ctxsize = sizeof(struct s390_sha_ctx), |
88 | .cra_module = THIS_MODULE, | 89 | .cra_module = THIS_MODULE, |
89 | } | 90 | } |