Searched refs:tot_blocks (Results 1 – 1 of 1) sorted by relevance
131 int tot_blocks = (nbytes + bsize - 1) / bsize; in crypto_cts_encrypt() local132 int cbc_blocks = tot_blocks > 2 ? tot_blocks - 2 : 0; in crypto_cts_encrypt()140 if (tot_blocks == 1) { in crypto_cts_encrypt()226 int tot_blocks = (nbytes + bsize - 1) / bsize; in crypto_cts_decrypt() local227 int cbc_blocks = tot_blocks > 2 ? tot_blocks - 2 : 0; in crypto_cts_decrypt()235 if (tot_blocks == 1) { in crypto_cts_decrypt()