提交 949abe57 编写于 作者: H Herbert Xu

crypto: sha512-s390 - Add missing block size

I missed the block size when converting sha512-s390 to shash.
Tested-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 e88cd6ff
......@@ -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,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册