Lines Matching refs:bsize
71 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_segment() local
79 crypto_xor(dst, src, bsize); in crypto_cfb_encrypt_segment()
80 memcpy(iv, dst, bsize); in crypto_cfb_encrypt_segment()
82 src += bsize; in crypto_cfb_encrypt_segment()
83 dst += bsize; in crypto_cfb_encrypt_segment()
84 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_segment()
92 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_inplace() local
100 crypto_xor(src, tmp, bsize); in crypto_cfb_encrypt_inplace()
103 src += bsize; in crypto_cfb_encrypt_inplace()
104 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_inplace()
106 memcpy(walk->iv, iv, bsize); in crypto_cfb_encrypt_inplace()
115 unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt() local
120 while (walk.nbytes >= bsize) { in crypto_cfb_encrypt()
139 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt_segment() local
147 crypto_xor(dst, iv, bsize); in crypto_cfb_decrypt_segment()
150 src += bsize; in crypto_cfb_decrypt_segment()
151 dst += bsize; in crypto_cfb_decrypt_segment()
152 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_decrypt_segment()
154 memcpy(walk->iv, iv, bsize); in crypto_cfb_decrypt_segment()
162 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt_inplace() local
170 memcpy(iv, src, bsize); in crypto_cfb_decrypt_inplace()
171 crypto_xor(src, tmp, bsize); in crypto_cfb_decrypt_inplace()
172 src += bsize; in crypto_cfb_decrypt_inplace()
173 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_decrypt_inplace()
175 memcpy(walk->iv, iv, bsize); in crypto_cfb_decrypt_inplace()
209 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt() local
214 while (walk.nbytes >= bsize) { in crypto_cfb_decrypt()