Home
last modified time | relevance | path

Searched refs:aes_drv_ctx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c351 static struct zynqmp_aead_drv_ctx aes_drv_ctx = { variable
386 if (!aes_drv_ctx.dev) in zynqmp_aes_aead_probe()
387 aes_drv_ctx.dev = dev; in zynqmp_aes_aead_probe()
397 aes_drv_ctx.engine = crypto_engine_alloc_init(dev, 1); in zynqmp_aes_aead_probe()
398 if (!aes_drv_ctx.engine) { in zynqmp_aes_aead_probe()
404 err = crypto_engine_start(aes_drv_ctx.engine); in zynqmp_aes_aead_probe()
418 crypto_engine_unregister_aead(&aes_drv_ctx.alg.aead); in zynqmp_aes_aead_probe()
421 if (aes_drv_ctx.engine) in zynqmp_aes_aead_probe()
422 crypto_engine_exit(aes_drv_ctx.engine); in zynqmp_aes_aead_probe()
429 crypto_engine_exit(aes_drv_ctx.engine); in zynqmp_aes_aead_remove()
[all …]