]> 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)
commit5c0d69aee7126ec9add5d7e8a95c08d55e9dca85
treee9f5e9aabec67ca96d1653b7a5e38b3a526e9325
parentaa22d6eb7c79ba8d53fb5dc45a9bf1ebe6ebf4bd
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: 4f423567a4c63 ("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