Lines Matching refs:in_key
92 static int ppc_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_aes_setkey() argument
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()
124 static int ppc_xts_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_xts_setkey() argument
141 ppc_expand_key_128(ctx->key_enc, in_key); in ppc_xts_setkey()
142 ppc_expand_key_128(ctx->key_twk, in_key + AES_KEYSIZE_128); in ppc_xts_setkey()
146 ppc_expand_key_192(ctx->key_enc, in_key); in ppc_xts_setkey()
147 ppc_expand_key_192(ctx->key_twk, in_key + AES_KEYSIZE_192); in ppc_xts_setkey()
151 ppc_expand_key_256(ctx->key_enc, in_key); in ppc_xts_setkey()
152 ppc_expand_key_256(ctx->key_twk, in_key + AES_KEYSIZE_256); in ppc_xts_setkey()