Lines Matching refs:XTS_BLOCK_SIZE
87 const bool cts = (req->cryptlen % XTS_BLOCK_SIZE);
88 const int bs = XTS_BLOCK_SIZE;
110 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) {
151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
164 int offset = req->cryptlen & ~(XTS_BLOCK_SIZE - 1);
167 int tail = req->cryptlen % XTS_BLOCK_SIZE;
172 offset - XTS_BLOCK_SIZE);
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1);
186 XTS_BLOCK_SIZE, NULL);
192 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
194 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
209 if (!err && unlikely(req->cryptlen % XTS_BLOCK_SIZE)) {
229 if (!err && unlikely(req->cryptlen % XTS_BLOCK_SIZE)) {
247 if (req->cryptlen < XTS_BLOCK_SIZE)
253 req->cryptlen & ~(XTS_BLOCK_SIZE - 1), NULL);
272 if (err || likely((req->cryptlen % XTS_BLOCK_SIZE) == 0))
289 if (err || likely((req->cryptlen % XTS_BLOCK_SIZE) == 0))
383 if (alg->base.cra_blocksize != XTS_BLOCK_SIZE)
426 inst->alg.base.cra_blocksize = XTS_BLOCK_SIZE;
430 inst->alg.ivsize = XTS_BLOCK_SIZE;