diff options
author | James Morris <james.l.morris@oracle.com> | 2014-11-19 21:32:12 +1100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-11-19 21:32:12 +1100 |
commit | bbd9976dcd5d35e4314b9c147047b341eb7cc236 (patch) | |
tree | 0e60a217b70cdfd62d7b8c1d9935a80223f80dec /crypto/eseqiv.c | |
parent | 6dde07d9334a97ed066bd8f4f7748cbd5f4b8231 (diff) | |
parent | b9e89cef449430b7dcdc79fccb245fed20d2692d (diff) | |
download | linux-crypto-bbd9976dcd5d35e4314b9c147047b341eb7cc236.tar.gz linux-crypto-bbd9976dcd5d35e4314b9c147047b341eb7cc236.zip |
Merge commit 'v3.17' into next
Diffstat (limited to 'crypto/eseqiv.c')
-rw-r--r-- | crypto/eseqiv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c index 42ce9f57..bf7ab4a8 100644 --- a/crypto/eseqiv.c +++ b/crypto/eseqiv.c @@ -68,7 +68,7 @@ static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) struct eseqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); struct eseqiv_request_ctx *reqctx = skcipher_givcrypt_reqctx(req); struct ablkcipher_request *subreq; - crypto_completion_t complete; + crypto_completion_t compl; void *data; struct scatterlist *osrc, *odst; struct scatterlist *dst; @@ -86,7 +86,7 @@ static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); giv = req->giv; - complete = req->creq.base.complete; + compl = req->creq.base.complete; data = req->creq.base.data; osrc = req->creq.src; @@ -101,11 +101,11 @@ static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) if (vsrc != giv + ivsize && vdst != giv + ivsize) { giv = PTR_ALIGN((u8 *)reqctx->tail, crypto_ablkcipher_alignmask(geniv) + 1); - complete = eseqiv_complete; + compl = eseqiv_complete; data = req; } - ablkcipher_request_set_callback(subreq, req->creq.base.flags, complete, + ablkcipher_request_set_callback(subreq, req->creq.base.flags, compl, data); sg_init_table(reqctx->src, 2); |