summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZefan Li <lizefan@huawei.com>2015-10-11 16:27:16 +0800
committerZefan Li <lizefan@huawei.com>2015-10-22 09:20:08 +0800
commit700af4cf0afd35a1083b028010ba3b192bf19bb6 (patch)
tree3c8587fd30bcd2865340e6a559a06e4f708bfda4
parent12fb133f36f0690ee49260ca95c4f56f94f41853 (diff)
crypto: s390/ghash: Fix incorrect backport of a1cae34e23b1
Signed-off-by: Zefan Li <lizefan@huawei.com>
-rw-r--r--arch/s390/crypto/ghash_s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/crypto/ghash_s390.c b/arch/s390/crypto/ghash_s390.c
index c2dac2e0e56a..69b5a4b873e2 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;
}