Lines Matching refs:drv_ctx
283 struct zynqmp_aead_drv_ctx *drv_ctx; in zynqmp_aes_aead_encrypt() local
289 drv_ctx = container_of(alg, struct zynqmp_aead_drv_ctx, alg.aead); in zynqmp_aes_aead_encrypt()
291 return crypto_transfer_aead_request_to_engine(drv_ctx->engine, req); in zynqmp_aes_aead_encrypt()
296 struct zynqmp_aead_drv_ctx *drv_ctx; in zynqmp_aes_aead_decrypt() local
302 drv_ctx = container_of(alg, struct zynqmp_aead_drv_ctx, alg.aead); in zynqmp_aes_aead_decrypt()
304 return crypto_transfer_aead_request_to_engine(drv_ctx->engine, req); in zynqmp_aes_aead_decrypt()
312 struct zynqmp_aead_drv_ctx *drv_ctx; in zynqmp_aes_aead_init() local
315 drv_ctx = container_of(alg, struct zynqmp_aead_drv_ctx, alg.aead); in zynqmp_aes_aead_init()
316 tfm_ctx->dev = drv_ctx->dev; in zynqmp_aes_aead_init()
322 tfm_ctx->fbk_cipher = crypto_alloc_aead(drv_ctx->alg.aead.base.cra_name, in zynqmp_aes_aead_init()
328 __func__, drv_ctx->alg.aead.base.cra_name); in zynqmp_aes_aead_init()