Lines Matching refs:aes_ctx
56 struct aes_ctx { struct
83 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument
90 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()
93 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function
98 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) in blk_aes_ctx()
106 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()
299 struct aes_ctx *ctx = aes_ctx(tfm); in aes_encrypt()
311 struct aes_ctx *ctx = aes_ctx(tfm); in aes_decrypt()
327 .cra_ctxsize = sizeof(struct aes_ctx),
346 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_encrypt()
375 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_decrypt()
406 .cra_ctxsize = sizeof(struct aes_ctx),
426 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in cbc_aes_encrypt()
457 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in cbc_aes_decrypt()
489 .cra_ctxsize = sizeof(struct aes_ctx),