]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: caam - refactor ahash_done callbacks
authorIuliana Prodan <iuliana.prodan@nxp.com>
Wed, 12 Feb 2020 17:55:17 +0000 (19:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2020 01:25:47 +0000 (09:25 +0800)
commitc3f7394eb9546cad7e2ff28aeccdd4655d15fd17
tree7d2f1aff2c82d051547f530c53585d4a979041bf
parentb7f17fe281442de420cbd9b4a6ad34b1d498aec6
crypto: caam - refactor ahash_done callbacks

Create two common ahash_done_* functions with the dma
direction as parameter. Then, these 2 are called with
the proper direction for unmap.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c