]> 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)
commitcfb725f6d3d31355fa4510da7d7bdce807045b42
treee9f5e9aabec67ca96d1653b7a5e38b3a526e9325
parent838e0a89e33a6e15492b8e4d700fc64c21ca3587
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: 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>
drivers/crypto/caam/caamhash.c