Lines Matching defs:gctx
227 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
231 lengths.b = cpu_to_be64(gctx->cryptlen * 8);
244 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
246 return gctx->complete(req, flags);
289 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
292 remain = gcm_remain(gctx->cryptlen);
319 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
321 if (gctx->cryptlen)
323 gctx->src, gctx->cryptlen, flags) ?:
427 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
429 gctx->src = sg_next(req->src == req->dst ? pctx->src : pctx->dst);
430 gctx->cryptlen = req->cryptlen;
431 gctx->complete = gcm_enc_copy_hash;
494 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
496 crypto_gcm_init_crypt(req, gctx->cryptlen);
505 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
514 gctx->src = sg_next(pctx->src);
515 gctx->cryptlen = cryptlen;
516 gctx->complete = gcm_dec_hash_continue;