Lines Matching defs: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;
189 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) {
192 ctx->key_enc, rounds, blocks);
205 unsigned int blocks;
209 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) {
212 ctx->key_dec, rounds, blocks);
225 unsigned int blocks;
227 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) {
230 ctx->key_enc, rounds, blocks, walk->iv);
254 unsigned int blocks;
256 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) {
259 ctx->key_dec, rounds, blocks, walk->iv);
413 unsigned int blocks;
417 blocks = walk.nbytes / AES_BLOCK_SIZE;
418 if (blocks) {
421 ctx->key1.key_enc, rounds, blocks,
435 unsigned int blocks;
439 blocks = walk.nbytes / AES_BLOCK_SIZE;
440 if (blocks) {
443 ctx->key1.key_dec, rounds, blocks,
877 static void mac_do_update(struct crypto_aes_ctx *ctx, u8 const in[], int blocks,
887 rem = aes_mac_update(in, ctx->key_enc, rounds, blocks,
890 in += (blocks - rem) * AES_BLOCK_SIZE;
891 blocks = rem;
893 } while (blocks);
898 while (blocks--) {
902 if (blocks || enc_after)
919 int blocks = len / AES_BLOCK_SIZE;
923 mac_do_update(&tctx->key, p, blocks, ctx->dg,
926 p += blocks * AES_BLOCK_SIZE;