@@ -228,14 +228,14 @@ static void gcm_hash_final_done(struct crypto_async_request *areq, int err);
228228
229229static int gcm_hash_update (struct aead_request * req ,
230230 struct crypto_gcm_req_priv_ctx * pctx ,
231- crypto_completion_t complete ,
231+ crypto_completion_t compl ,
232232 struct scatterlist * src ,
233233 unsigned int len )
234234{
235235 struct ahash_request * ahreq = & pctx -> u .ahreq ;
236236
237237 ahash_request_set_callback (ahreq , aead_request_flags (req ),
238- complete , req );
238+ compl , req );
239239 ahash_request_set_crypt (ahreq , src , NULL , len );
240240
241241 return crypto_ahash_update (ahreq );
@@ -244,12 +244,12 @@ static int gcm_hash_update(struct aead_request *req,
244244static int gcm_hash_remain (struct aead_request * req ,
245245 struct crypto_gcm_req_priv_ctx * pctx ,
246246 unsigned int remain ,
247- crypto_completion_t complete )
247+ crypto_completion_t compl )
248248{
249249 struct ahash_request * ahreq = & pctx -> u .ahreq ;
250250
251251 ahash_request_set_callback (ahreq , aead_request_flags (req ),
252- complete , req );
252+ compl , req );
253253 sg_init_one (pctx -> src , gcm_zeroes , remain );
254254 ahash_request_set_crypt (ahreq , pctx -> src , NULL , remain );
255255
@@ -375,14 +375,14 @@ static void __gcm_hash_assoc_remain_done(struct aead_request *req, int err)
375375{
376376 struct crypto_gcm_req_priv_ctx * pctx = crypto_gcm_reqctx (req );
377377 struct crypto_gcm_ghash_ctx * gctx = & pctx -> ghash_ctx ;
378- crypto_completion_t complete ;
378+ crypto_completion_t compl ;
379379 unsigned int remain = 0 ;
380380
381381 if (!err && gctx -> cryptlen ) {
382382 remain = gcm_remain (gctx -> cryptlen );
383- complete = remain ? gcm_hash_crypt_done :
383+ compl = remain ? gcm_hash_crypt_done :
384384 gcm_hash_crypt_remain_done ;
385- err = gcm_hash_update (req , pctx , complete ,
385+ err = gcm_hash_update (req , pctx , compl ,
386386 gctx -> src , gctx -> cryptlen );
387387 if (err == - EINPROGRESS || err == - EBUSY )
388388 return ;
@@ -429,14 +429,14 @@ static void gcm_hash_assoc_done(struct crypto_async_request *areq, int err)
429429static void __gcm_hash_init_done (struct aead_request * req , int err )
430430{
431431 struct crypto_gcm_req_priv_ctx * pctx = crypto_gcm_reqctx (req );
432- crypto_completion_t complete ;
432+ crypto_completion_t compl ;
433433 unsigned int remain = 0 ;
434434
435435 if (!err && req -> assoclen ) {
436436 remain = gcm_remain (req -> assoclen );
437- complete = remain ? gcm_hash_assoc_done :
437+ compl = remain ? gcm_hash_assoc_done :
438438 gcm_hash_assoc_remain_done ;
439- err = gcm_hash_update (req , pctx , complete ,
439+ err = gcm_hash_update (req , pctx , compl ,
440440 req -> assoc , req -> assoclen );
441441 if (err == - EINPROGRESS || err == - EBUSY )
442442 return ;
@@ -462,7 +462,7 @@ static int gcm_hash(struct aead_request *req,
462462 struct crypto_gcm_ghash_ctx * gctx = & pctx -> ghash_ctx ;
463463 struct crypto_gcm_ctx * ctx = crypto_tfm_ctx (req -> base .tfm );
464464 unsigned int remain ;
465- crypto_completion_t complete ;
465+ crypto_completion_t compl ;
466466 int err ;
467467
468468 ahash_request_set_tfm (ahreq , ctx -> ghash );
@@ -473,8 +473,8 @@ static int gcm_hash(struct aead_request *req,
473473 if (err )
474474 return err ;
475475 remain = gcm_remain (req -> assoclen );
476- complete = remain ? gcm_hash_assoc_done : gcm_hash_assoc_remain_done ;
477- err = gcm_hash_update (req , pctx , complete , req -> assoc , req -> assoclen );
476+ compl = remain ? gcm_hash_assoc_done : gcm_hash_assoc_remain_done ;
477+ err = gcm_hash_update (req , pctx , compl , req -> assoc , req -> assoclen );
478478 if (err )
479479 return err ;
480480 if (remain ) {
@@ -484,8 +484,8 @@ static int gcm_hash(struct aead_request *req,
484484 return err ;
485485 }
486486 remain = gcm_remain (gctx -> cryptlen );
487- complete = remain ? gcm_hash_crypt_done : gcm_hash_crypt_remain_done ;
488- err = gcm_hash_update (req , pctx , complete , gctx -> src , gctx -> cryptlen );
487+ compl = remain ? gcm_hash_crypt_done : gcm_hash_crypt_remain_done ;
488+ err = gcm_hash_update (req , pctx , compl , gctx -> src , gctx -> cryptlen );
489489 if (err )
490490 return err ;
491491 if (remain ) {
0 commit comments