Lines Matching defs:nbytes
185 unsigned int nbytes;
190 while ((nbytes = walk.nbytes) != 0) {
191 nbytes = min_t(unsigned int, nbytes, MAX_BYTES);
192 nbytes = round_down(nbytes, AES_BLOCK_SIZE);
197 ctx->key_enc, ctx->rounds, nbytes);
200 ctx->key_dec, ctx->rounds, nbytes);
203 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
224 unsigned int nbytes;
229 while ((nbytes = walk.nbytes) != 0) {
230 nbytes = min_t(unsigned int, nbytes, MAX_BYTES);
231 nbytes = round_down(nbytes, AES_BLOCK_SIZE);
236 ctx->key_enc, ctx->rounds, nbytes,
240 ctx->key_dec, ctx->rounds, nbytes,
244 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
265 unsigned int nbytes;
270 while ((nbytes = walk.nbytes) != 0) {
271 nbytes = min_t(unsigned int, nbytes, MAX_BYTES);
272 if (nbytes < walk.total)
273 nbytes = round_down(nbytes, AES_BLOCK_SIZE);
277 ctx->key_enc, ctx->rounds, nbytes, walk.iv);
280 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
291 unsigned int nbytes;
298 while ((nbytes = walk.nbytes) != 0) {
299 nbytes = min_t(unsigned int, nbytes, MAX_BYTES);
300 nbytes = round_down(nbytes, AES_BLOCK_SIZE);
305 ctx->key_enc, ctx->rounds, nbytes,
309 ctx->key_dec, ctx->rounds, nbytes,
314 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);