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 iv[]);
41 int rounds, int blocks, u8 iv[]);
43 int rounds, int blocks, u8 iv[]);
47 int rounds, int blocks);
49 int rounds, int blocks, u8 iv[]);
97 int rounds, int blocks)) in __ecb_crypt() argument
107 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local
110 blocks = round_down(blocks, in __ecb_crypt()
115 ctx->rounds, blocks); in __ecb_crypt()
118 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
167 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_encrypt() local
172 ctx->enc, ctx->key.rounds, blocks, in cbc_encrypt()
190 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_decrypt() local
193 blocks = round_down(blocks, in cbc_decrypt()
198 ctx->key.rk, ctx->key.rounds, blocks, in cbc_decrypt()
202 walk.nbytes - blocks * AES_BLOCK_SIZE); in cbc_decrypt()
218 int blocks = (walk.nbytes / AES_BLOCK_SIZE) & ~7; in ctr_encrypt() local
224 if (blocks >= 8) { in ctr_encrypt()
226 blocks, walk.iv); in ctr_encrypt()
227 dst += blocks * AES_BLOCK_SIZE; in ctr_encrypt()
228 src += blocks * AES_BLOCK_SIZE; in ctr_encrypt()
279 int rounds, int blocks, u8 iv[])) in __xts_crypt() argument
317 int blocks = (walk.nbytes / AES_BLOCK_SIZE) & ~7; in __xts_crypt() local
323 if (blocks >= 8) { in __xts_crypt()
330 fn(out, in, ctx->key.rk, ctx->key.rounds, blocks, in __xts_crypt()
333 out += blocks * AES_BLOCK_SIZE; in __xts_crypt()
334 in += blocks * AES_BLOCK_SIZE; in __xts_crypt()
335 nbytes -= blocks * AES_BLOCK_SIZE; in __xts_crypt()