Lines Matching refs:blocks

78 				int rounds, int blocks);
80 int rounds, int blocks);
83 int rounds, int blocks, u8 iv[]);
85 int rounds, int blocks, u8 iv[]);
106 int rounds, int blocks, u8 iv[],
109 int rounds, int blocks, u8 iv[],
113 int blocks, u8 dg[], int enc_before,
185 unsigned int blocks; in ecb_encrypt() local
189 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt()
192 ctx->key_enc, rounds, blocks); in ecb_encrypt()
205 unsigned int blocks; in ecb_decrypt() local
209 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_decrypt()
212 ctx->key_dec, rounds, blocks); in ecb_decrypt()
225 unsigned int blocks; in cbc_encrypt_walk() local
227 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_encrypt_walk()
230 ctx->key_enc, rounds, blocks, walk->iv); in cbc_encrypt_walk()
254 unsigned int blocks; in cbc_decrypt_walk() local
256 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_decrypt_walk()
259 ctx->key_dec, rounds, blocks, walk->iv); in cbc_decrypt_walk()
413 unsigned int blocks; in essiv_cbc_encrypt() local
417 blocks = walk.nbytes / AES_BLOCK_SIZE; in essiv_cbc_encrypt()
418 if (blocks) { in essiv_cbc_encrypt()
421 ctx->key1.key_enc, rounds, blocks, in essiv_cbc_encrypt()
435 unsigned int blocks; in essiv_cbc_decrypt() local
439 blocks = walk.nbytes / AES_BLOCK_SIZE; in essiv_cbc_decrypt()
440 if (blocks) { in essiv_cbc_decrypt()
443 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt()
877 static void mac_do_update(struct crypto_aes_ctx *ctx, u8 const in[], int blocks, in mac_do_update() argument
887 rem = aes_mac_update(in, ctx->key_enc, rounds, blocks, in mac_do_update()
890 in += (blocks - rem) * AES_BLOCK_SIZE; in mac_do_update()
891 blocks = rem; in mac_do_update()
893 } while (blocks); in mac_do_update()
898 while (blocks--) { in mac_do_update()
902 if (blocks || enc_after) in mac_do_update()
919 int blocks = len / AES_BLOCK_SIZE; in mac_update() local
923 mac_do_update(&tctx->key, p, blocks, ctx->dg, in mac_update()
926 p += blocks * AES_BLOCK_SIZE; in mac_update()