Lines Matching refs:aes_ctx
58 struct aes_ctx { struct
85 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument
92 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()
95 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function
100 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) in blk_aes_ctx()
108 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()
305 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_encrypt()
314 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_decrypt()
327 .cra_ctxsize = sizeof(struct aes_ctx),
345 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_encrypt()
371 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_decrypt()
399 .cra_ctxsize = sizeof(struct aes_ctx),
418 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in cbc_aes_encrypt()
446 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in cbc_aes_decrypt()
474 .cra_ctxsize = sizeof(struct aes_ctx),