commit | 49f9783b0cea9a4e38fdbfe70ca296e6f20914c4 | [log] [tgz] |
---|---|---|
author | LEROY Christophe <christophe.leroy@c-s.fr> | Fri Oct 06 15:05:04 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 12 22:55:37 2017 +0800 |
tree | 47081b54da53fb4c727b76bc19096053f9de5686 | |
parent | 2e13ce0812c624f1ee08ab933ebb89dddffed32c [diff] |
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>