]> git.hungrycats.org Git - linux/commitdiff
crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1
authorZefan Li <lizefan@huawei.com>
Sun, 11 Oct 2015 08:27:16 +0000 (16:27 +0800)
committerZefan Li <lizefan@huawei.com>
Thu, 22 Oct 2015 01:20:08 +0000 (09:20 +0800)
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/s390/crypto/ghash_s390.c

index c2dac2e0e56aa56477279bda025f104e9781effb..69b5a4b873e28b38c47e5fca35fc9c98e18d82e2 100644 (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;
 }