Lines Matching refs:nbytes
40 unsigned int nbytes = walk->nbytes; in crypto_xctr_crypt_final() local
45 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_xctr_crypt_final()
56 unsigned int nbytes = walk->nbytes; in crypto_xctr_crypt_segment() local
69 } while ((nbytes -= XCTR_BLOCKSIZE) >= XCTR_BLOCKSIZE); in crypto_xctr_crypt_segment()
71 return nbytes; in crypto_xctr_crypt_segment()
80 unsigned int nbytes = walk->nbytes; in crypto_xctr_crypt_inplace() local
95 } while ((nbytes -= XCTR_BLOCKSIZE) >= XCTR_BLOCKSIZE); in crypto_xctr_crypt_inplace()
97 return nbytes; in crypto_xctr_crypt_inplace()
105 unsigned int nbytes; in crypto_xctr_crypt() local
111 while (walk.nbytes >= XCTR_BLOCKSIZE) { in crypto_xctr_crypt()
113 nbytes = crypto_xctr_crypt_inplace(&walk, cipher, in crypto_xctr_crypt()
116 nbytes = crypto_xctr_crypt_segment(&walk, cipher, in crypto_xctr_crypt()
119 byte_ctr += walk.nbytes - nbytes; in crypto_xctr_crypt()
120 err = skcipher_walk_done(&walk, nbytes); in crypto_xctr_crypt()
123 if (walk.nbytes) { in crypto_xctr_crypt()