Lines Matching refs:rctx
600 struct crypto_rfc4309_req_ctx *rctx = aead_request_ctx(req); in crypto_rfc4309_crypt() local
601 struct aead_request *subreq = &rctx->subreq; in crypto_rfc4309_crypt()
617 sg_init_table(rctx->src, 3); in crypto_rfc4309_crypt()
618 sg_set_buf(rctx->src, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt()
619 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
620 if (sg != rctx->src + 1) in crypto_rfc4309_crypt()
621 sg_chain(rctx->src, 2, sg); in crypto_rfc4309_crypt()
624 sg_init_table(rctx->dst, 3); in crypto_rfc4309_crypt()
625 sg_set_buf(rctx->dst, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt()
626 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4309_crypt()
627 if (sg != rctx->dst + 1) in crypto_rfc4309_crypt()
628 sg_chain(rctx->dst, 2, sg); in crypto_rfc4309_crypt()
634 aead_request_set_crypt(subreq, rctx->src, in crypto_rfc4309_crypt()
635 req->src == req->dst ? rctx->src : rctx->dst, in crypto_rfc4309_crypt()