Lines Matching refs:bsize
68 const unsigned int bsize = DES3_EDE_BLOCK_SIZE; in ecb_crypt() local
80 if (nbytes >= bsize * 3) { in ecb_crypt()
85 wsrc += bsize * 3; in ecb_crypt()
86 wdst += bsize * 3; in ecb_crypt()
87 nbytes -= bsize * 3; in ecb_crypt()
88 } while (nbytes >= bsize * 3); in ecb_crypt()
90 if (nbytes < bsize) in ecb_crypt()
98 wsrc += bsize; in ecb_crypt()
99 wdst += bsize; in ecb_crypt()
100 nbytes -= bsize; in ecb_crypt()
101 } while (nbytes >= bsize); in ecb_crypt()
129 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in __cbc_encrypt() local
142 nbytes -= bsize; in __cbc_encrypt()
143 } while (nbytes >= bsize); in __cbc_encrypt()
170 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in __cbc_decrypt() local
178 src += nbytes / bsize - 1; in __cbc_decrypt()
179 dst += nbytes / bsize - 1; in __cbc_decrypt()
184 if (nbytes >= bsize * 3) { in __cbc_decrypt()
186 nbytes -= bsize * 3 - bsize; in __cbc_decrypt()
198 nbytes -= bsize; in __cbc_decrypt()
199 if (nbytes < bsize) in __cbc_decrypt()
205 } while (nbytes >= bsize * 3); in __cbc_decrypt()
212 nbytes -= bsize; in __cbc_decrypt()
213 if (nbytes < bsize) in __cbc_decrypt()