Lines Matching defs:key_enc
42 u32 key_enc[AES_MAX_KEYLENGTH_U32];
48 u32 key_enc[AES_MAX_KEYLENGTH_U32];
54 extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds);
56 extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
60 extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, 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,
71 extern void ppc_expand_key_128(u32 *key_enc, const u8 *key);
72 extern void ppc_expand_key_192(u32 *key_enc, const u8 *key);
73 extern void ppc_expand_key_256(u32 *key_enc, const u8 *key);
75 extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc,
100 ppc_expand_key_128(ctx->key_enc, in_key);
104 ppc_expand_key_192(ctx->key_enc, in_key);
108 ppc_expand_key_256(ctx->key_enc, in_key);
114 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len);
140 ppc_expand_key_128(ctx->key_enc, in_key);
145 ppc_expand_key_192(ctx->key_enc, in_key);
150 ppc_expand_key_256(ctx->key_enc, in_key);
157 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len);
167 ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds);
197 ctx->key_enc, ctx->rounds, nbytes);
236 ctx->key_enc, ctx->rounds, nbytes,
277 ctx->key_enc, ctx->rounds, nbytes, walk.iv);
305 ctx->key_enc, ctx->rounds, nbytes,
349 ppc_encrypt_xts(b[0], b[0], ctx->key_enc, ctx->rounds, AES_BLOCK_SIZE,