Lines Matching full: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[]);
43 int rounds, int blocks, u8 iv[]);
82 int rounds, int blocks)) in __ecb_crypt() argument
93 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local
96 blocks = round_down(blocks, in __ecb_crypt()
100 ctx->rounds, blocks); in __ecb_crypt()
102 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
162 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_decrypt() local
165 blocks = round_down(blocks, in cbc_decrypt()
169 ctx->key.rk, ctx->key.rounds, blocks, in cbc_decrypt()
172 walk.nbytes - blocks * AES_BLOCK_SIZE); in cbc_decrypt()
207 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in ctr_encrypt() local
211 blocks = round_down(blocks, in ctr_encrypt()
217 ctx->rk, ctx->rounds, blocks, walk.iv, final); in ctr_encrypt()
220 u8 *dst = walk.dst.virt.addr + blocks * AES_BLOCK_SIZE; in ctr_encrypt()
221 u8 *src = walk.src.virt.addr + blocks * AES_BLOCK_SIZE; in ctr_encrypt()
230 walk.nbytes - blocks * AES_BLOCK_SIZE); in ctr_encrypt()
273 int rounds, int blocks, u8 iv[])) in __xts_crypt() argument
288 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __xts_crypt() local
291 blocks = round_down(blocks, in __xts_crypt()
295 ctx->key.rounds, blocks, walk.iv); in __xts_crypt()
297 walk.nbytes - blocks * AES_BLOCK_SIZE); in __xts_crypt()