Lines Matching refs:nbytes

52 	unsigned int nbytes = walk->nbytes;  in crypto_pcbc_encrypt_segment()  local
65 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
67 return nbytes; in crypto_pcbc_encrypt_segment()
77 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_inplace() local
90 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
94 return nbytes; in crypto_pcbc_encrypt_inplace()
99 unsigned int nbytes) in crypto_pcbc_encrypt() argument
107 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_pcbc_encrypt()
110 while ((nbytes = walk.nbytes)) { in crypto_pcbc_encrypt()
112 nbytes = crypto_pcbc_encrypt_inplace(desc, &walk, in crypto_pcbc_encrypt()
115 nbytes = crypto_pcbc_encrypt_segment(desc, &walk, in crypto_pcbc_encrypt()
117 err = blkcipher_walk_done(desc, &walk, nbytes); in crypto_pcbc_encrypt()
130 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_segment() local
143 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
147 return nbytes; in crypto_pcbc_decrypt_segment()
157 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_inplace() local
170 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()
174 return nbytes; in crypto_pcbc_decrypt_inplace()
179 unsigned int nbytes) in crypto_pcbc_decrypt() argument
187 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_pcbc_decrypt()
190 while ((nbytes = walk.nbytes)) { in crypto_pcbc_decrypt()
192 nbytes = crypto_pcbc_decrypt_inplace(desc, &walk, in crypto_pcbc_decrypt()
195 nbytes = crypto_pcbc_decrypt_segment(desc, &walk, in crypto_pcbc_decrypt()
197 err = blkcipher_walk_done(desc, &walk, nbytes); in crypto_pcbc_decrypt()