Lines Matching refs:key_enc
42 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
48 u32 key_enc[AES_MAX_KEYLENGTH_U32]; member
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); in ppc_aes_setkey()
104 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_aes_setkey()
108 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_aes_setkey()
114 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_aes_setkey()
140 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_xts_setkey()
145 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_xts_setkey()
150 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_xts_setkey()
157 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_xts_setkey()
167 ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds); in ppc_aes_encrypt()
197 ctx->key_enc, ctx->rounds, nbytes); in ppc_ecb_crypt()
236 ctx->key_enc, ctx->rounds, nbytes, in ppc_cbc_crypt()
277 ctx->key_enc, ctx->rounds, nbytes, walk.iv); in ppc_ctr_crypt()
305 ctx->key_enc, ctx->rounds, nbytes, in ppc_xts_crypt()
349 ppc_encrypt_xts(b[0], b[0], ctx->key_enc, ctx->rounds, AES_BLOCK_SIZE, in ppc_xts_encrypt()