Lines Matching refs:nbytes
154 if (!(avail = w->nbytes)) in crypt()
185 if (!(avail = w->nbytes)) in crypt()
196 struct scatterlist *src, unsigned int nbytes) in encrypt() argument
201 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt()
207 struct scatterlist *src, unsigned int nbytes) in decrypt() argument
212 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt()
218 struct scatterlist *ssrc, unsigned int nbytes, in lrw_crypt() argument
232 blkcipher_walk_init(&walk, sdst, ssrc, nbytes); in lrw_crypt()
235 nbytes = walk.nbytes; in lrw_crypt()
236 if (!nbytes) in lrw_crypt()
239 nblocks = min(walk.nbytes / bsize, max_blks); in lrw_crypt()
278 nbytes -= nblocks * bsize; in lrw_crypt()
279 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt()
282 err = blkcipher_walk_done(desc, &walk, nbytes); in lrw_crypt()
283 nbytes = walk.nbytes; in lrw_crypt()
284 if (!nbytes) in lrw_crypt()
287 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt()