Lines Matching defs:nbytes
177 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) {
182 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE);
197 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) {
202 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE);
215 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) {
221 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE);
245 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) {
251 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE);
318 ctx->key_enc, num_rounds(ctx), walk.nbytes,
376 ctx->key_dec, num_rounds(ctx), walk.nbytes,
392 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) {
398 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE);
400 if (walk.nbytes) {
402 unsigned int nbytes = walk.nbytes;
415 crypto_xor_cpy(tdst, tsrc, tail, nbytes);
460 if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
479 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) {
480 int nbytes = walk.nbytes;
482 if (walk.nbytes < walk.total)
483 nbytes &= ~(AES_BLOCK_SIZE - 1);
487 ctx->key1.key_enc, rounds, nbytes, walk.iv,
490 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
509 ctx->key1.key_enc, rounds, walk.nbytes, walk.iv,
532 if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
551 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) {
552 int nbytes = walk.nbytes;
554 if (walk.nbytes < walk.total)
555 nbytes &= ~(AES_BLOCK_SIZE - 1);
559 ctx->key1.key_dec, rounds, nbytes, walk.iv,
562 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
581 ctx->key1.key_dec, rounds, walk.nbytes, walk.iv,