summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-03 21:39:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-06 15:23:55 +0800
commit5290ac69bd1d735d4cb02b518c8c098073ef3db2 (patch)
treeaf771f81f547234716da3897cddf5b3acd4473f3 /crypto/lrw.c
parentde4788d85edff1a4411eb8cfcefb61f9ba655b89 (diff)
downloadlinux-crypto-5290ac69bd1d735d4cb02b518c8c098073ef3db2.tar.gz
linux-crypto-5290ac69bd1d735d4cb02b518c8c098073ef3db2.zip
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 '')
0 files changed, 0 insertions, 0 deletions