Lines Matching refs:blocks

29 				  int rounds, int blocks);
31 int rounds, int blocks);
34 int rounds, int blocks, u8 iv[]);
37 int rounds, int blocks, u8 iv[]);
40 int rounds, int blocks, u8 iv[]);
42 int rounds, int blocks, u8 iv[]);
46 int rounds, int blocks);
48 int rounds, int blocks, u8 iv[]);
96 int rounds, int blocks)) in __ecb_crypt() argument
106 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local
109 blocks = round_down(blocks, in __ecb_crypt()
114 ctx->rounds, blocks); in __ecb_crypt()
117 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
166 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_encrypt() local
171 ctx->enc, ctx->key.rounds, blocks, in cbc_encrypt()
189 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_decrypt() local
192 blocks = round_down(blocks, in cbc_decrypt()
197 ctx->key.rk, ctx->key.rounds, blocks, in cbc_decrypt()
201 walk.nbytes - blocks * AES_BLOCK_SIZE); in cbc_decrypt()
217 int blocks = (walk.nbytes / AES_BLOCK_SIZE) & ~7; in ctr_encrypt() local
223 if (blocks >= 8) { in ctr_encrypt()
225 blocks, walk.iv); in ctr_encrypt()
226 dst += blocks * AES_BLOCK_SIZE; in ctr_encrypt()
227 src += blocks * AES_BLOCK_SIZE; in ctr_encrypt()
267 int rounds, int blocks, u8 iv[])) in __xts_crypt() argument
305 int blocks = (walk.nbytes / AES_BLOCK_SIZE) & ~7; in __xts_crypt() local
311 if (blocks >= 8) { in __xts_crypt()
318 fn(out, in, ctx->key.rk, ctx->key.rounds, blocks, in __xts_crypt()
321 out += blocks * AES_BLOCK_SIZE; in __xts_crypt()
322 in += blocks * AES_BLOCK_SIZE; in __xts_crypt()
323 nbytes -= blocks * AES_BLOCK_SIZE; in __xts_crypt()