Lines Matching refs:blocks
30 int rounds, int blocks);
32 int rounds, int blocks);
35 int rounds, int blocks, u8 iv[]);
38 int rounds, int blocks, u8 ctr[], u8 final[]);
41 int rounds, int blocks, u8 iv[], int);
43 int rounds, int blocks, u8 iv[], int);
88 int rounds, int blocks)) in __ecb_crypt() argument
98 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local
101 blocks = round_down(blocks, in __ecb_crypt()
106 ctx->rounds, blocks); in __ecb_crypt()
109 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
167 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_decrypt() local
170 blocks = round_down(blocks, in cbc_decrypt()
175 ctx->key.rk, ctx->key.rounds, blocks, in cbc_decrypt()
179 walk.nbytes - blocks * AES_BLOCK_SIZE); in cbc_decrypt()
231 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in ctr_encrypt() local
235 blocks = round_down(blocks, in ctr_encrypt()
242 ctx->rk, ctx->rounds, blocks, walk.iv, final); in ctr_encrypt()
246 u8 *dst = walk.dst.virt.addr + blocks * AES_BLOCK_SIZE; in ctr_encrypt()
247 u8 *src = walk.src.virt.addr + blocks * AES_BLOCK_SIZE; in ctr_encrypt()
256 walk.nbytes - blocks * AES_BLOCK_SIZE); in ctr_encrypt()
331 int rounds, int blocks, u8 iv[], int)) in __xts_crypt() argument
361 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __xts_crypt() local
365 blocks = round_down(blocks, in __xts_crypt()
372 ctx->key.rounds, blocks, walk.iv, reorder_last_tweak); in __xts_crypt()
375 walk.nbytes - blocks * AES_BLOCK_SIZE); in __xts_crypt()