Lines Matching refs:bsize
78 const unsigned int bsize = DES3_EDE_BLOCK_SIZE; in ecb_crypt() local
90 if (nbytes >= bsize * 3) { in ecb_crypt()
95 wsrc += bsize * 3; in ecb_crypt()
96 wdst += bsize * 3; in ecb_crypt()
97 nbytes -= bsize * 3; in ecb_crypt()
98 } while (nbytes >= bsize * 3); in ecb_crypt()
100 if (nbytes < bsize) in ecb_crypt()
108 wsrc += bsize; in ecb_crypt()
109 wdst += bsize; in ecb_crypt()
110 nbytes -= bsize; in ecb_crypt()
111 } while (nbytes >= bsize); in ecb_crypt()
139 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in __cbc_encrypt() local
152 nbytes -= bsize; in __cbc_encrypt()
153 } while (nbytes >= bsize); in __cbc_encrypt()
180 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in __cbc_decrypt() local
188 src += nbytes / bsize - 1; in __cbc_decrypt()
189 dst += nbytes / bsize - 1; in __cbc_decrypt()
194 if (nbytes >= bsize * 3) { in __cbc_decrypt()
196 nbytes -= bsize * 3 - bsize; in __cbc_decrypt()
208 nbytes -= bsize; in __cbc_decrypt()
209 if (nbytes < bsize) in __cbc_decrypt()
215 } while (nbytes >= bsize * 3); in __cbc_decrypt()
222 nbytes -= bsize; in __cbc_decrypt()
223 if (nbytes < bsize) in __cbc_decrypt()
274 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in __ctr_crypt() local
282 if (nbytes >= bsize * 3) { in __ctr_crypt()
298 } while ((nbytes -= bsize * 3) >= bsize * 3); in __ctr_crypt()
300 if (nbytes < bsize) in __ctr_crypt()
314 } while ((nbytes -= bsize) >= bsize); in __ctr_crypt()