summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-03 16:39:24 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-06 10:23:55 +0300
commitec69bbfb9902c32a5c1492f2b1b8ad032a66d724 (patch)
tree19763d06c1961ff7e32af742aaf05a1b14af4402 /crypto/shash.c
parent63e41ebc6630f39422d87f8a4bade1e793f37a01 (diff)
downloadlinux-ec69bbfb9902c32a5c1492f2b1b8ad032a66d724.tar.xz
crypto: algif_skcipher - Do not assume that req is unchanged
The async path in algif_skcipher assumes that the crypto completion function will be called with the original request. This is not necessarily the case. In fact there is no need for this anyway since we already embed information into the request with struct skcipher_async_req. This patch adds a pointer to that struct and then passes it as the data to the callback function. Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Tadeusz Struk <tadeusz.struk@intel.com>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions