Lines Matching refs:nbytes
24 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_segment() local
36 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
38 return nbytes; in crypto_pcbc_encrypt_segment()
46 unsigned int nbytes = walk->nbytes; in crypto_pcbc_encrypt_inplace() local
58 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
60 return nbytes; in crypto_pcbc_encrypt_inplace()
68 unsigned int nbytes; in crypto_pcbc_encrypt() local
73 while ((nbytes = walk.nbytes)) { in crypto_pcbc_encrypt()
75 nbytes = crypto_pcbc_encrypt_inplace(req, &walk, in crypto_pcbc_encrypt()
78 nbytes = crypto_pcbc_encrypt_segment(req, &walk, in crypto_pcbc_encrypt()
80 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_encrypt()
91 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_segment() local
103 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
105 return nbytes; in crypto_pcbc_decrypt_segment()
113 unsigned int nbytes = walk->nbytes; in crypto_pcbc_decrypt_inplace() local
125 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()
127 return nbytes; in crypto_pcbc_decrypt_inplace()
135 unsigned int nbytes; in crypto_pcbc_decrypt() local
140 while ((nbytes = walk.nbytes)) { in crypto_pcbc_decrypt()
142 nbytes = crypto_pcbc_decrypt_inplace(req, &walk, in crypto_pcbc_decrypt()
145 nbytes = crypto_pcbc_decrypt_segment(req, &walk, in crypto_pcbc_decrypt()
147 err = skcipher_walk_done(&walk, nbytes); in crypto_pcbc_decrypt()