Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c162 static struct zynqmp_sha_drv_ctx sha3_drv_ctx = { variable
209 err = crypto_register_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_probe()
215 sha3_drv_ctx.dev = dev; in zynqmp_sha_probe()
216 platform_set_drvdata(pdev, &sha3_drv_ctx); in zynqmp_sha_probe()
233 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_probe()
236 crypto_unregister_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_probe()
243 sha3_drv_ctx.dev = platform_get_drvdata(pdev); in zynqmp_sha_remove()
245 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_remove()
246 dma_free_coherent(sha3_drv_ctx.dev, SHA3_384_DIGEST_SIZE, fbuf, final_dma_addr); in zynqmp_sha_remove()
247 crypto_unregister_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_remove()