summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-03 21:39:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-17 12:31:05 -0800
commit3e597bb7c3be2c69c03a6af95d27d5ed16b7b882 (patch)
tree43fff801d56cde57b63539382f27cf476dda9822 /arch/mips/jz4740
parentcfeab1cf35bcd023bb5db62635eccf8e8def7527 (diff)
crypto: algif_skcipher - Do not assume that req is unchanged
commit ec69bbfb9902c32a5c1492f2b1b8ad032a66d724 upstream. 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. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/jz4740')
0 files changed, 0 insertions, 0 deletions