Lines Matching full:rounds
28 asmlinkage void aesbs_convert_key(u8 out[], u32 const rk[], int rounds);
31 int rounds, int blocks);
33 int rounds, int blocks);
36 int rounds, int blocks, u8 iv[]);
39 int rounds, int blocks, u8 ctr[]);
42 int rounds, int blocks, u8 iv[], int);
44 int rounds, int blocks, u8 iv[], int);
47 int rounds; member
78 ctx->rounds = 6 + key_len / 4; in aesbs_setkey()
81 aesbs_convert_key(ctx->rk, rk.key_enc, ctx->rounds); in aesbs_setkey()
89 int rounds, int blocks)) in __ecb_crypt() argument
107 ctx->rounds, blocks); in __ecb_crypt()
136 ctx->key.rounds = 6 + key_len / 4; in aesbs_cbc_setkey()
139 aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); in aesbs_cbc_setkey()
163 ctx->key.rounds, dst, dst); in cbc_encrypt()
193 ctx->key.rk, ctx->key.rounds, blocks, in cbc_decrypt()
213 ctx->key.rounds = 6 + key_len / 4; in aesbs_ctr_setkey_sync()
216 aesbs_convert_key(ctx->key.rk, ctx->fallback.key_enc, ctx->key.rounds); in aesbs_ctr_setkey_sync()
244 aesbs_ctr_encrypt(dst, src, ctx->rk, ctx->rounds, bytes, walk.iv); in ctr_encrypt()
261 __aes_arm_encrypt(ctx->fallback.key_enc, ctx->key.rounds, src, dst); in ctr_encrypt_one()
295 int rounds, int blocks, u8 iv[], int)) in __xts_crypt() argument
299 const int rounds = ctx->key.rounds; in __xts_crypt() local
323 __aes_arm_encrypt(ctx->tweak_key.key_enc, rounds, walk.iv, walk.iv); in __xts_crypt()
337 rounds, blocks, walk.iv, reorder_last_tweak); in __xts_crypt()
355 __aes_arm_encrypt(ctx->fallback.key_enc, rounds, buf, buf); in __xts_crypt()
357 __aes_arm_decrypt(ctx->fallback.key_dec, rounds, buf, buf); in __xts_crypt()