Searched refs:sha3_drv_ctx (Results 1 – 1 of 1) sorted by relevance
/linux-6.3-rc2/drivers/crypto/xilinx/ |
A D | zynqmp-sha.c | 163 static struct zynqmp_sha_drv_ctx sha3_drv_ctx = { variable 210 err = crypto_register_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_probe() 216 sha3_drv_ctx.dev = dev; in zynqmp_sha_probe() 217 platform_set_drvdata(pdev, &sha3_drv_ctx); in zynqmp_sha_probe() 234 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_probe() 237 crypto_unregister_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_probe() 244 sha3_drv_ctx.dev = platform_get_drvdata(pdev); in zynqmp_sha_remove() 246 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr); in zynqmp_sha_remove() 247 dma_free_coherent(sha3_drv_ctx.dev, SHA3_384_DIGEST_SIZE, fbuf, final_dma_addr); in zynqmp_sha_remove() 248 crypto_unregister_shash(&sha3_drv_ctx.sha3_384); in zynqmp_sha_remove()
|
Completed in 3 milliseconds