summaryrefslogtreecommitdiff
path: root/crypto/eseqiv.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:23:58 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:23:58 -0500
commit7f4da8dfc74c2b4fb7191819ee718a78a0ca972b (patch)
tree621e49aa88ee2609689d7726b54d6524d9445442 /crypto/eseqiv.c
parent6adc8f59727d07e7dcbc6d0c1116719c4c4042a9 (diff)
parent245c531351ef282b69bcd2bd7d46bfc79234f9b4 (diff)
downloadlinux-crypto-7f4da8dfc74c2b4fb7191819ee718a78a0ca972b.tar.gz
linux-crypto-7f4da8dfc74c2b4fb7191819ee718a78a0ca972b.zip
Merge tag 'v3.17-rc1' into patchwork
Linux 3.17-rc1
Diffstat (limited to '')
-rw-r--r--crypto/eseqiv.c8
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);