Lines Matching refs:bsize
61 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_segment() local
69 crypto_xor(dst, src, bsize); in crypto_cfb_encrypt_segment()
72 src += bsize; in crypto_cfb_encrypt_segment()
73 dst += bsize; in crypto_cfb_encrypt_segment()
74 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_segment()
76 memcpy(walk->iv, iv, bsize); in crypto_cfb_encrypt_segment()
84 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt_inplace() local
92 crypto_xor(src, tmp, bsize); in crypto_cfb_encrypt_inplace()
95 src += bsize; in crypto_cfb_encrypt_inplace()
96 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_encrypt_inplace()
98 memcpy(walk->iv, iv, bsize); in crypto_cfb_encrypt_inplace()
107 unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_encrypt() local
112 while (walk.nbytes >= bsize) { in crypto_cfb_encrypt()
131 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt_segment() local
139 crypto_xor(dst, src, bsize); in crypto_cfb_decrypt_segment()
142 src += bsize; in crypto_cfb_decrypt_segment()
143 dst += bsize; in crypto_cfb_decrypt_segment()
144 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_decrypt_segment()
146 memcpy(walk->iv, iv, bsize); in crypto_cfb_decrypt_segment()
154 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt_inplace() local
162 memcpy(iv, src, bsize); in crypto_cfb_decrypt_inplace()
163 crypto_xor(src, tmp, bsize); in crypto_cfb_decrypt_inplace()
164 src += bsize; in crypto_cfb_decrypt_inplace()
165 } while ((nbytes -= bsize) >= bsize); in crypto_cfb_decrypt_inplace()
183 const unsigned int bsize = crypto_cfb_bsize(tfm); in crypto_cfb_decrypt() local
188 while (walk.nbytes >= bsize) { in crypto_cfb_decrypt()