Lines Matching refs:key_enc
43 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
49 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
55 extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds);
57 extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
61 extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
65 extern void ppc_crypt_ctr (u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
67 extern void ppc_encrypt_xts(u8 *out, const u8 *in, u32 *key_enc, u32 rounds,
72 extern void ppc_expand_key_128(u32 *key_enc, const u8 *key);
73 extern void ppc_expand_key_192(u32 *key_enc, const u8 *key);
74 extern void ppc_expand_key_256(u32 *key_enc, const u8 *key);
76 extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc,
107 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_aes_setkey()
111 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_aes_setkey()
115 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_aes_setkey()
119 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_aes_setkey()
141 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_xts_setkey()
146 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_xts_setkey()
151 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_xts_setkey()
156 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_xts_setkey()
166 ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds); in ppc_aes_encrypt()
198 ctx->key_enc, ctx->rounds, nbytes); in ppc_ecb_encrypt()
254 ctx->key_enc, ctx->rounds, nbytes, walk.iv); in ppc_cbc_encrypt()
311 ctx->key_enc, ctx->rounds, pbytes , walk.iv); in ppc_ctr_crypt()
342 ctx->key_enc, ctx->rounds, nbytes, walk.iv, twk); in ppc_xts_encrypt()