Lines Matching refs:key_enc
44 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
50 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
56 extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds);
58 extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
62 extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
66 extern void ppc_crypt_ctr (u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
68 extern void ppc_encrypt_xts(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
73 extern void ppc_expand_key_128(u32 *key_enc, const u8 *key);
74 extern void ppc_expand_key_192(u32 *key_enc, const u8 *key);
75 extern void ppc_expand_key_256(u32 *key_enc, const u8 *key);
77 extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc,
109 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_aes_setkey()
113 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_aes_setkey()
117 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_aes_setkey()
121 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_aes_setkey()
148 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_xts_setkey()
153 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_xts_setkey()
158 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_xts_setkey()
163 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_xts_setkey()
173 ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds); in ppc_aes_encrypt()
205 ctx->key_enc, ctx->rounds, nbytes); in ppc_ecb_encrypt()
261 ctx->key_enc, ctx->rounds, nbytes, walk.iv); in ppc_cbc_encrypt()
318 ctx->key_enc, ctx->rounds, pbytes , walk.iv); in ppc_ctr_crypt()
349 ctx->key_enc, ctx->rounds, nbytes, walk.iv, twk); in ppc_xts_encrypt()