Lines Matching refs:nbytes
38 unsigned int nbytes = walk->nbytes; in crypto_ctr_crypt_final() local
41 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final()
55 unsigned int nbytes = walk->nbytes; in crypto_ctr_crypt_segment() local
67 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_segment()
69 return nbytes; in crypto_ctr_crypt_segment()
79 unsigned int nbytes = walk->nbytes; in crypto_ctr_crypt_inplace() local
94 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_inplace()
96 return nbytes; in crypto_ctr_crypt_inplace()
105 unsigned int nbytes; in crypto_ctr_crypt() local
110 while (walk.nbytes >= bsize) { in crypto_ctr_crypt()
112 nbytes = crypto_ctr_crypt_inplace(&walk, cipher); in crypto_ctr_crypt()
114 nbytes = crypto_ctr_crypt_segment(&walk, cipher); in crypto_ctr_crypt()
116 err = skcipher_walk_done(&walk, nbytes); in crypto_ctr_crypt()
119 if (walk.nbytes) { in crypto_ctr_crypt()