From: Zefan Li Date: Sun, 11 Oct 2015 08:27:16 +0000 (+0800) Subject: crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1 X-Git-Tag: v3.4.110~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700af4cf0afd35a1083b028010ba3b192bf19bb6;p=thirdparty%2Fkernel%2Fstable.git crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1 Signed-off-by: Zefan Li --- diff --git a/arch/s390/crypto/ghash_s390.c b/arch/s390/crypto/ghash_s390.c index c2dac2e0e56aa..69b5a4b873e28 100644 --- a/arch/s390/crypto/ghash_s390.c +++ b/arch/s390/crypto/ghash_s390.c @@ -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; }