Lines Matching refs: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);
288 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
291 remain = gcm_remain(gctx->cryptlen);
318 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
320 if (gctx->cryptlen)
322 gctx->src, gctx->cryptlen, flags) ?:
425 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
427 gctx->src = sg_next(req->src == req->dst ? pctx->src : pctx->dst);
428 gctx->cryptlen = req->cryptlen;
429 gctx->complete = gcm_enc_copy_hash;
492 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
494 crypto_gcm_init_crypt(req, gctx->cryptlen);
503 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx;
512 gctx->src = sg_next(pctx->src);
513 gctx->cryptlen = cryptlen;
514 gctx->complete = gcm_dec_hash_continue;