]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - don't dma_map key for hash algorithms
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 10 Feb 2017 12:07:21 +0000 (14:07 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Feb 2017 05:23:41 +0000 (13:23 +0800)
commitac46cf79b60c03738e7d159bfa63b446cd0803c6
treee9f5e9aabec67ca96d1653b7a5e38b3a526e9325
parenta788f15bf3c5eb3890d916d03c7ab8d61747d354
crypto: caam - don't dma_map key for hash algorithms

Shared descriptors for hash algorithms are small enough
for (split) keys to be inlined in all cases.
Since driver already does this, all what's left is to remove
unused ctx->key_dma.

Fixes: b60a5e736f2f3 ("crypto: caam - ahash hmac support")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c