Lines Matching refs:rounds
44 u32 rounds;
51 u32 rounds;
54 extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds);
55 extern void ppc_decrypt_aes(u8 *out, const u8 *in, u32 *key_dec, u32 rounds);
56 extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
58 extern void ppc_decrypt_ecb(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
60 extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
62 extern void ppc_decrypt_cbc(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
64 extern void ppc_crypt_ctr (u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
66 extern void ppc_encrypt_xts(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
68 extern void ppc_decrypt_xts(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
99 ctx->rounds = 4;
103 ctx->rounds = 5;
107 ctx->rounds = 6;
139 ctx->rounds = 4;
144 ctx->rounds = 5;
149 ctx->rounds = 6;
167 ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds);
176 ppc_decrypt_aes(out, in, ctx->key_dec, ctx->rounds);
197 ctx->key_enc, ctx->rounds, nbytes);
200 ctx->key_dec, ctx->rounds, nbytes);
236 ctx->key_enc, ctx->rounds, nbytes,
240 ctx->key_dec, ctx->rounds, nbytes,
277 ctx->key_enc, ctx->rounds, nbytes, walk.iv);
305 ctx->key_enc, ctx->rounds, nbytes,
309 ctx->key_dec, ctx->rounds, nbytes,
349 ppc_encrypt_xts(b[0], b[0], ctx->key_enc, ctx->rounds, AES_BLOCK_SIZE,
387 ppc_encrypt_ecb(req->iv, req->iv, ctx->key_twk, ctx->rounds,
392 ppc_decrypt_xts(b[1], b[1], ctx->key_dec, ctx->rounds, AES_BLOCK_SIZE,
396 ppc_decrypt_xts(b[0], b[0], ctx->key_dec, ctx->rounds, AES_BLOCK_SIZE,