Lines Matching refs:cryptlen
271 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2;
282 if (req->cryptlen <= AES_BLOCK_SIZE) {
283 if (req->cryptlen < AES_BLOCK_SIZE)
298 if (req->cryptlen == AES_BLOCK_SIZE)
301 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen);
304 subreq.cryptlen);
309 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE,
329 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2;
340 if (req->cryptlen <= AES_BLOCK_SIZE) {
341 if (req->cryptlen < AES_BLOCK_SIZE)
356 if (req->cryptlen == AES_BLOCK_SIZE)
359 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen);
362 subreq.cryptlen);
367 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE,
449 int tail = req->cryptlen % AES_BLOCK_SIZE;
455 if (req->cryptlen < AES_BLOCK_SIZE)
461 int xts_blocks = DIV_ROUND_UP(req->cryptlen,
496 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen);
498 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen);
521 int tail = req->cryptlen % AES_BLOCK_SIZE;
527 if (req->cryptlen < AES_BLOCK_SIZE)
533 int xts_blocks = DIV_ROUND_UP(req->cryptlen,
568 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen);
570 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen);