]> 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)
commitf5d3bda44eb56f20ebac1a5e7352ba12a3cf277a
tree1bfcad78011530a05ed28bfce5f4abe74a3b1b6e
parentada29a2d9c816a02d8731ddf6e98c1b2918d49ca
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