Lines Matching refs:rctx
707 struct crypto_rfc4309_req_ctx *rctx = aead_request_ctx(req); in crypto_rfc4309_crypt() local
708 struct aead_request *subreq = &rctx->subreq; in crypto_rfc4309_crypt()
724 sg_init_table(rctx->src, 3); in crypto_rfc4309_crypt()
725 sg_set_buf(rctx->src, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt()
726 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
727 if (sg != rctx->src + 1) in crypto_rfc4309_crypt()
728 sg_chain(rctx->src, 2, sg); in crypto_rfc4309_crypt()
731 sg_init_table(rctx->dst, 3); in crypto_rfc4309_crypt()
732 sg_set_buf(rctx->dst, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt()
733 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4309_crypt()
734 if (sg != rctx->dst + 1) in crypto_rfc4309_crypt()
735 sg_chain(rctx->dst, 2, sg); in crypto_rfc4309_crypt()
741 aead_request_set_crypt(subreq, rctx->src, in crypto_rfc4309_crypt()
742 req->src == req->dst ? rctx->src : rctx->dst, in crypto_rfc4309_crypt()