Lines Matching refs:blocks

77 				int rounds, int blocks);
79 int rounds, int blocks);
82 int rounds, int blocks, u8 iv[]);
84 int rounds, int blocks, u8 iv[]);
102 int rounds, int blocks, u8 iv[],
105 int rounds, int blocks, u8 iv[],
109 int blocks, u8 dg[], int enc_before,
181 unsigned int blocks; in ecb_encrypt() local
185 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt()
188 ctx->key_enc, rounds, blocks); in ecb_encrypt()
201 unsigned int blocks; in ecb_decrypt() local
205 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_decrypt()
208 ctx->key_dec, rounds, blocks); in ecb_decrypt()
221 unsigned int blocks; in cbc_encrypt_walk() local
223 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_encrypt_walk()
226 ctx->key_enc, rounds, blocks, walk->iv); in cbc_encrypt_walk()
250 unsigned int blocks; in cbc_decrypt_walk() local
252 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_decrypt_walk()
255 ctx->key_dec, rounds, blocks, walk->iv); in cbc_decrypt_walk()
409 unsigned int blocks; in essiv_cbc_encrypt() local
413 blocks = walk.nbytes / AES_BLOCK_SIZE; in essiv_cbc_encrypt()
414 if (blocks) { in essiv_cbc_encrypt()
417 ctx->key1.key_enc, rounds, blocks, in essiv_cbc_encrypt()
431 unsigned int blocks; in essiv_cbc_decrypt() local
435 blocks = walk.nbytes / AES_BLOCK_SIZE; in essiv_cbc_decrypt()
436 if (blocks) { in essiv_cbc_decrypt()
439 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt()
808 static void mac_do_update(struct crypto_aes_ctx *ctx, u8 const in[], int blocks, in mac_do_update() argument
818 rem = aes_mac_update(in, ctx->key_enc, rounds, blocks, in mac_do_update()
821 in += (blocks - rem) * AES_BLOCK_SIZE; in mac_do_update()
822 blocks = rem; in mac_do_update()
824 } while (blocks); in mac_do_update()
829 while (blocks--) { in mac_do_update()
833 if (blocks || enc_after) in mac_do_update()
850 int blocks = len / AES_BLOCK_SIZE; in mac_update() local
854 mac_do_update(&tctx->key, p, blocks, ctx->dg, in mac_update()
857 p += blocks * AES_BLOCK_SIZE; in mac_update()