Lines Matching defs:rctx

84 	struct xts_request_ctx *rctx = skcipher_request_ctx(req);
89 le128 t = rctx->t;
93 req = &rctx->subreq;
112 rctx->t = t;
117 gf128mul_x_ble(&rctx->t, &t);
148 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
150 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
151 le128_xor(&b, &rctx->t, &b);
152 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
164 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
165 struct skcipher_request *subreq = &rctx->subreq;
170 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst,
173 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
177 le128_xor(b, &rctx->t, b);
179 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1);
184 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail,
191 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
192 le128_xor(b, &rctx->t, b);
193 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
203 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
205 rctx->subreq.base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG;
223 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
225 rctx->subreq.base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG;
243 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
244 struct skcipher_request *subreq = &rctx->subreq;
255 crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv);
262 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
263 struct skcipher_request *subreq = &rctx->subreq;
279 struct xts_request_ctx *rctx = skcipher_request_ctx(req);
280 struct skcipher_request *subreq = &rctx->subreq;