Lines Matching refs:nbytes
25 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_segment() local
37 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
39 return nbytes; in crypto_pcbc_encrypt_segment()
47 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_inplace() local
59 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
61 return nbytes; in crypto_pcbc_encrypt_inplace()
69 unsigned int nbytes; in crypto_pcbc_encrypt() local
74 while ((nbytes = walk.nbytes)) { in crypto_pcbc_encrypt()
76 nbytes = crypto_pcbc_encrypt_inplace(req, &walk, in crypto_pcbc_encrypt()
79 nbytes = crypto_pcbc_encrypt_segment(req, &walk, in crypto_pcbc_encrypt()
81 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_encrypt()
92 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_segment() local
104 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
106 return nbytes; in crypto_pcbc_decrypt_segment()
114 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_inplace() local
126 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()
128 return nbytes; in crypto_pcbc_decrypt_inplace()
136 unsigned int nbytes; in crypto_pcbc_decrypt() local
141 while ((nbytes = walk.nbytes)) { in crypto_pcbc_decrypt()
143 nbytes = crypto_pcbc_decrypt_inplace(req, &walk, in crypto_pcbc_decrypt()
146 nbytes = crypto_pcbc_decrypt_segment(req, &walk, in crypto_pcbc_decrypt()
148 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_decrypt()