Commit 700af4cf authored by Zefan Li's avatar Zefan Li

crypto: s390/ghash: Fix incorrect backport of a1cae34e

Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 12fb133f
......@@ -115,7 +115,7 @@ static int ghash_final(struct shash_desc *desc, u8 *dst)
struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
ghash_flush(dctx);
memcpy(dst, dtx->icv, GHASH_BLOCK_SIZE);
memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment