]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: talitos - do hw_context DMA mapping outside the requests
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 6 Oct 2017 13:05:04 +0000 (15:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:37 +0000 (22:55 +0800)
commita6b81a97d71324d0302c7cf2f23ff421f973277a
tree47081b54da53fb4c727b76bc19096053f9de5686
parentfe585178c59dccc4df9169c31f376afd19bfe85b
crypto: talitos - do hw_context DMA mapping outside the requests

At every request, we map and unmap the same hash hw_context.

This patch moves the dma mapping/unmapping in functions ahash_init()
and ahash_import().

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