Lines Matching refs:tail
36 struct scatterlist *tail; member
151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_done()
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_done()
167 int tail = req->cryptlen % XTS_BLOCK_SIZE; in xts_cts_final() local
171 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in xts_cts_final()
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
176 scatterwalk_map_and_copy(b, req->src, offset, tail, 0); in xts_cts_final()
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1); in xts_cts_final()
185 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail, in xts_cts_final()
192 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
194 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_final()