Lines Matching refs:crypto_aes_ctx
51 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
63 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
133 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey()
145 struct crypto_aes_ctx key1;
146 struct crypto_aes_ctx __aligned(8) key2;
169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt()
192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt()
215 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt()
239 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
263 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt()
360 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
379 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
398 .cra_ctxsize = sizeof(struct crypto_aes_ctx),