Lines Matching defs:rctx
722 struct crypto_rfc4106_req_ctx *rctx = aead_request_ctx(req);
725 struct aead_request *subreq = &rctx->subreq;
736 sg_init_table(rctx->src, 3);
737 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8);
738 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen);
739 if (sg != rctx->src + 1)
740 sg_chain(rctx->src, 2, sg);
743 sg_init_table(rctx->dst, 3);
744 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8);
745 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen);
746 if (sg != rctx->dst + 1)
747 sg_chain(rctx->dst, 2, sg);
753 aead_request_set_crypt(subreq, rctx->src,
754 req->src == req->dst ? rctx->src : rctx->dst,
930 struct crypto_rfc4543_req_ctx *rctx = aead_request_ctx(req);
931 struct aead_request *subreq = &rctx->subreq;
933 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child),