Skip to content
Commit 65055e21 authored by Franck LENORMAND's avatar Franck LENORMAND Committed by Herbert Xu
Browse files

crypto: caam - fix hash context DMA unmap size



When driver started using state->caam_ctxt for storing both running hash
and final hash, it was not updated to handle different DMA unmap
lengths.

Cc: <stable@vger.kernel.org> # v4.19+
Fixes: c19650d6 ("crypto: caam - fix DMA mapping of stack memory")
Signed-off-by: default avatarFranck LENORMAND <franck.lenormand@nxp.com>
Signed-off-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 984798de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment