Lines Matching defs:rctx
85 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
90 le128 t = rctx->t;
94 req = &rctx->subreq;
113 rctx->t = t;
118 gf128mul_x_ble(&rctx->t, &t);
149 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
152 le128_xor(&b, &rctx->t, &b);
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
165 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
166 struct skcipher_request *subreq = &rctx->subreq;
171 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst,
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
178 le128_xor(b, &rctx->t, b);
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1);
185 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail,
192 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
193 le128_xor(b, &rctx->t, b);
194 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
204 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
206 rctx->subreq.base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG;
224 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
226 rctx->subreq.base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG;
244 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
245 struct skcipher_request *subreq = &rctx->subreq;
256 crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv);
263 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
264 struct skcipher_request *subreq = &rctx->subreq;
280 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
281 struct skcipher_request *subreq = &rctx->subreq;