Lines Matching refs:nbytes
51 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_segment() local
63 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
65 return nbytes; in crypto_pcbc_encrypt_segment()
73 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_inplace() local
85 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
89 return nbytes; in crypto_pcbc_encrypt_inplace()
98 unsigned int nbytes; in crypto_pcbc_encrypt() local
103 while ((nbytes = walk.nbytes)) { in crypto_pcbc_encrypt()
105 nbytes = crypto_pcbc_encrypt_inplace(req, &walk, in crypto_pcbc_encrypt()
108 nbytes = crypto_pcbc_encrypt_segment(req, &walk, in crypto_pcbc_encrypt()
110 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_encrypt()
121 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_segment() local
133 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
137 return nbytes; in crypto_pcbc_decrypt_segment()
145 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_inplace() local
157 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()
161 return nbytes; in crypto_pcbc_decrypt_inplace()
170 unsigned int nbytes; in crypto_pcbc_decrypt() local
175 while ((nbytes = walk.nbytes)) { in crypto_pcbc_decrypt()
177 nbytes = crypto_pcbc_decrypt_inplace(req, &walk, in crypto_pcbc_decrypt()
180 nbytes = crypto_pcbc_decrypt_segment(req, &walk, in crypto_pcbc_decrypt()
182 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_decrypt()