linux/crypto
Herbert Xu 0ddd11675c crypto: authenc - Add EINPROGRESS check
commit 180ce7e810 upstream.

When Steffen originally wrote the authenc async hash patch, he
correctly had EINPROGRESS checks in place so that we did not invoke
the original completion handler with it.

Unfortuantely I told him to remove it before the patch was applied.

As only MAY_BACKLOG request completion handlers are required to
handle EINPROGRESS completions, those checks are really needed.

This patch restores them.

Reported-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-26 14:29:22 -07:00
..
async_tx raid6: fix recovery performance regression 2010-05-12 14:57:05 -07:00
ablkcipher.c crypto: blkcipher - Do not use eseqiv on stream ciphers 2009-08-14 22:58:18 +10:00
aead.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
aes_generic.c crypto: aes - Undefined behaviour in crypto_aes_expand_key 2009-07-24 13:59:17 +08:00
ahash.c crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep 2009-07-24 13:56:31 +08:00
algapi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2009-09-11 09:38:37 -07:00
algboss.c crypto: api - Add new template create function 2009-07-07 12:30:33 +08:00
ansi_cprng.c crypto: ansi_cprng - Fix module initialization 2009-08-29 17:36:25 +10:00
anubis.c
api.c crypto: api - Remove frontend argument from extsize/init_tfm 2009-07-14 12:58:15 +08:00
arc4.c
authenc.c crypto: authenc - Add EINPROGRESS check 2010-05-26 14:29:22 -07:00
blkcipher.c
blowfish.c
camellia.c
cast5.c
cast6.c
cbc.c
ccm.c
chainiv.c
cipher.c
compress.c
crc32c.c
cryptd.c crypto: cryptd - Add support to access underlaying shash 2009-08-06 15:35:20 +10:00
crypto_null.c
crypto_wq.c
ctr.c crypto: ctr - Use chainiv on raw counter mode 2009-08-13 23:10:39 +10:00
cts.c
deflate.c
des_generic.c
digest.c
ecb.c
eseqiv.c crypto: eseqiv - Fix IV generation for sync algorithms 2009-04-15 20:45:03 +08:00
fcrypt.c
fips.c
gcm.c crypto: gcm - fix another complete call in complete fuction 2009-11-16 21:52:22 +08:00
gf128mul.c
ghash-generic.c crypto: ghash - Add GHASH digest algorithm for GCM 2009-08-06 15:32:38 +10:00
hash.c
hmac.c crypto: hmac - Prehash ipad/opad 2009-07-24 15:18:41 +08:00
internal.h crypto: cryptd - Switch to template create API 2009-07-14 18:45:45 +08:00
Kconfig crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
khazad.c
krng.c
lrw.c
lzo.c
Makefile crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
md4.c
md5.c
michael_mic.c
pcbc.c
pcompress.c crypto: api - Remove frontend argument from extsize/init_tfm 2009-07-14 12:58:15 +08:00
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c crypto: rng - Fix typo 2009-08-13 11:53:56 +10:00
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent.c
sha1_generic.c crypto: sha1_generic - Add export/import support 2009-07-11 18:23:33 +08:00
sha256_generic.c crypto: sha256_generic - Add export/import support 2009-07-11 18:23:34 +08:00
sha512_generic.c crypto: sha512_generic - Use 64-bit counters 2009-07-22 14:38:13 +08:00
shash.c crypto: shash - Test for the algorithms import function before exporting it 2009-07-24 13:57:13 +08:00
tcrypt.c crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
tcrypt.h
tea.c
testmgr.c crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
testmgr.h crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
tgr192.c
twofish_common.c
twofish.c
vmac.c crypto: vmac - New hash algorithm for intel_txt support 2009-09-02 20:05:22 +10:00
wp512.c
xcbc.c crypto: xcbc - Fix alignment calculation of xcbc_tfm_ctx 2009-08-20 17:58:04 +10:00
xor.c crypto: don't track xor test pages with kmemcheck 2009-06-15 12:40:10 +02:00
xts.c
zlib.c crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final} 2009-06-02 14:04:56 +10:00