Lines Matching refs:XTS_BLOCK_SIZE
86 const bool cts = (req->cryptlen % XTS_BLOCK_SIZE);
87 const int bs = XTS_BLOCK_SIZE;
109 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) {
150 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
152 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
163 int offset = req->cryptlen & ~(XTS_BLOCK_SIZE - 1);
166 int tail = req->cryptlen % XTS_BLOCK_SIZE;
171 offset - XTS_BLOCK_SIZE);
173 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
179 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1);
185 XTS_BLOCK_SIZE, NULL);
191 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
193 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
208 if (!err && unlikely(req->cryptlen % XTS_BLOCK_SIZE)) {
228 if (!err && unlikely(req->cryptlen % XTS_BLOCK_SIZE)) {
246 if (req->cryptlen < XTS_BLOCK_SIZE)
252 req->cryptlen & ~(XTS_BLOCK_SIZE - 1), NULL);
271 if (err || likely((req->cryptlen % XTS_BLOCK_SIZE) == 0))
288 if (err || likely((req->cryptlen % XTS_BLOCK_SIZE) == 0))
380 if (alg->base.cra_blocksize != XTS_BLOCK_SIZE)
418 inst->alg.base.cra_blocksize = XTS_BLOCK_SIZE;
422 inst->alg.ivsize = XTS_BLOCK_SIZE;