Lines Matching refs:rctx
825 struct crypto_rfc4106_req_ctx *rctx = aead_request_ctx(req); in crypto_rfc4106_crypt() local
828 struct aead_request *subreq = &rctx->subreq; in crypto_rfc4106_crypt()
839 sg_init_table(rctx->src, 3); in crypto_rfc4106_crypt()
840 sg_set_buf(rctx->src, iv + 12, req->assoclen - 8); in crypto_rfc4106_crypt()
841 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
842 if (sg != rctx->src + 1) in crypto_rfc4106_crypt()
843 sg_chain(rctx->src, 2, sg); in crypto_rfc4106_crypt()
846 sg_init_table(rctx->dst, 3); in crypto_rfc4106_crypt()
847 sg_set_buf(rctx->dst, iv + 12, req->assoclen - 8); in crypto_rfc4106_crypt()
848 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
849 if (sg != rctx->dst + 1) in crypto_rfc4106_crypt()
850 sg_chain(rctx->dst, 2, sg); in crypto_rfc4106_crypt()
856 aead_request_set_crypt(subreq, rctx->src, in crypto_rfc4106_crypt()
857 req->src == req->dst ? rctx->src : rctx->dst, in crypto_rfc4106_crypt()
1053 struct crypto_rfc4543_req_ctx *rctx = aead_request_ctx(req); in crypto_rfc4543_crypt() local
1054 struct aead_request *subreq = &rctx->subreq; in crypto_rfc4543_crypt()
1056 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), in crypto_rfc4543_crypt()