Lines Matching refs:rctx
1107 struct crypto_rfc4543_req_ctx *rctx = crypto_rfc4543_reqctx(req); in crypto_rfc4543_done() local
1110 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, in crypto_rfc4543_done()
1123 struct crypto_rfc4543_req_ctx *rctx = crypto_rfc4543_reqctx(req); in crypto_rfc4543_crypt() local
1124 struct aead_request *subreq = &rctx->subreq; in crypto_rfc4543_crypt()
1126 struct scatterlist *cipher = rctx->cipher; in crypto_rfc4543_crypt()
1127 struct scatterlist *payload = rctx->payload; in crypto_rfc4543_crypt()
1128 struct scatterlist *assoc = rctx->assoc; in crypto_rfc4543_crypt()
1133 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), in crypto_rfc4543_crypt()
1141 memset(rctx->auth_tag, 0, authsize); in crypto_rfc4543_crypt()
1143 scatterwalk_map_and_copy(rctx->auth_tag, src, in crypto_rfc4543_crypt()
1147 sg_init_one(cipher, rctx->auth_tag, authsize); in crypto_rfc4543_crypt()
1163 BUG_ON(req->assoclen > sizeof(rctx->assocbuf)); in crypto_rfc4543_crypt()
1165 scatterwalk_map_and_copy(rctx->assocbuf, req->assoc, 0, in crypto_rfc4543_crypt()
1169 sg_set_buf(assoc, rctx->assocbuf, req->assoclen); in crypto_rfc4543_crypt()
1198 struct crypto_rfc4543_req_ctx *rctx = crypto_rfc4543_reqctx(req); in crypto_rfc4543_encrypt() local
1213 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, req->cryptlen, in crypto_rfc4543_encrypt()