From: Herbert Xu Date: Sat, 21 Mar 2009 13:12:19 +0000 (+0800) Subject: crypto: sha512-s390 - Add missing block size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=949abe574739848b1e68271fbac86c3cb4506aad;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git crypto: sha512-s390 - Add missing block size I missed the block size when converting sha512-s390 to shash. Tested-by: Heiko Carstens Signed-off-by: Herbert Xu --- 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, }