Lines Matching refs:cryptlen
177 rctx->left -= subreq->cryptlen; in post_crypt()
210 unsigned cryptlen; in pre_crypt() local
219 cryptlen = subreq->cryptlen; in pre_crypt()
220 more = rctx->left > cryptlen; in pre_crypt()
222 cryptlen = rctx->left; in pre_crypt()
225 cryptlen, req->iv); in pre_crypt()
254 cryptlen, NULL); in pre_crypt()
291 subreq->cryptlen = LRW_BUFFER_SIZE; in init_crypt()
292 if (req->cryptlen > LRW_BUFFER_SIZE) { in init_crypt()
293 unsigned int n = min(req->cryptlen, (unsigned int)PAGE_SIZE); in init_crypt()
297 subreq->cryptlen = n; in init_crypt()
302 rctx->left = req->cryptlen; in init_crypt()
352 if (rctx->left != req->cryptlen) in encrypt_done()
402 if (rctx->left != req->cryptlen) in decrypt_done()