crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1

Signed-off-by: Zefan Li <lizefan@huawei.com>
This commit is contained in:
Zefan Li 2015-10-11 16:27:16 +08:00
parent 12fb133f36
commit 700af4cf0a

View file

@ -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;
}