]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: talitos - fix hash result for VMAP_STACK
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 10 Sep 2019 06:04:14 +0000 (06:04 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:04:31 +0000 (01:04 +1000)
commitfb6eb1a2bb41f82795ee9ba5b62ca5db5fe34aa6
tree1bfcad78011530a05ed28bfce5f4abe74a3b1b6e
parent73777c43da4a73f975b11f21d756be528308a055
crypto: talitos - fix hash result for VMAP_STACK

When VMAP_STACK is selected, stack cannot be DMA-mapped.
Therefore, the hash result has to be DMA-mapped in the request
context and copied into areq->result at completion.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c