]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:19 +0000 (14:08 +0200)
commit8a4963a051180e00906cc6d528929bc283fc58ce
tree89aaa1bfb16c50d601a9671d503bc24116d6ca69
parent3e871381811a3fffd4a9befc6c41a5f7c3ce0525
crypto: caam - don't dma_map key for hash algorithms

commit cfb725f6d3d31355fa4510da7d7bdce807045b42 upstream.

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: 045e36780f115 ("crypto: caam - ahash hmac support")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/caam/caamhash.c