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)
commit7a6eda5b8d9dda3b7f15c764f1865f4569050fa6
tree1bfcad78011530a05ed28bfce5f4abe74a3b1b6e
parent5b0fe9552336338acb52756daf65dd7a4eeca73f
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