Lines Matching refs:func_bytes
41 unsigned int nbytes, i, func_bytes; in __glue_ecb_crypt_128bit() local
55 func_bytes = bsize * gctx->funcs[i].num_blocks; in __glue_ecb_crypt_128bit()
58 if (nbytes >= func_bytes) { in __glue_ecb_crypt_128bit()
63 wsrc += func_bytes; in __glue_ecb_crypt_128bit()
64 wdst += func_bytes; in __glue_ecb_crypt_128bit()
65 nbytes -= func_bytes; in __glue_ecb_crypt_128bit()
66 } while (nbytes >= func_bytes); in __glue_ecb_crypt_128bit()
148 unsigned int num_blocks, func_bytes; in __glue_cbc_decrypt_128bit() local
159 func_bytes = bsize * num_blocks; in __glue_cbc_decrypt_128bit()
162 if (nbytes >= func_bytes) { in __glue_cbc_decrypt_128bit()
164 nbytes -= func_bytes - bsize; in __glue_cbc_decrypt_128bit()
177 } while (nbytes >= func_bytes); in __glue_cbc_decrypt_128bit()
246 unsigned int num_blocks, func_bytes; in __glue_ctr_crypt_128bit() local
254 func_bytes = bsize * num_blocks; in __glue_ctr_crypt_128bit()
256 if (nbytes >= func_bytes) { in __glue_ctr_crypt_128bit()
262 nbytes -= func_bytes; in __glue_ctr_crypt_128bit()
263 } while (nbytes >= func_bytes); in __glue_ctr_crypt_128bit()
315 unsigned int num_blocks, func_bytes; in __glue_xts_crypt_128bit() local
321 func_bytes = bsize * num_blocks; in __glue_xts_crypt_128bit()
323 if (nbytes >= func_bytes) { in __glue_xts_crypt_128bit()
330 nbytes -= func_bytes; in __glue_xts_crypt_128bit()
331 } while (nbytes >= func_bytes); in __glue_xts_crypt_128bit()