tmp_suning_uos_patched/crypto
Herbert Xu 38cb2419f5 [CRYPTO] api: Fix potential race in crypto_remove_spawn
As it is crypto_remove_spawn may try to unregister an instance which is
yet to be registered.  This patch fixes this by checking whether the
instance has been registered before attempting to remove it.

It also removes a bogus cra_destroy check in crypto_register_instance as
1) it's outside the mutex;
2) we have a check in __crypto_register_alg already.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-11-23 19:32:09 +08:00
..
async_tx
ablkcipher.c
aead.c
aes_generic.c
algapi.c
anubis.c
api.c
arc4.c
authenc.c
blkcipher.c
blowfish.c
camellia.c
cast5.c
cast6.c
cbc.c
cipher.c
compress.c
crc32c.c
cryptd.c
crypto_null.c
cryptomgr.c
deflate.c
des_generic.c
digest.c
ecb.c
fcrypt.c
gf128mul.c
hash.c
hmac.c
internal.h
Kconfig
khazad.c
lrw.c
Makefile
md4.c
md5.c
michael_mic.c
pcbc.c
proc.c
scatterwalk.c
scatterwalk.h
seed.c
serpent.c
sha1_generic.c
sha256_generic.c
sha512.c
tcrypt.c
tcrypt.h
tea.c
tgr192.c
twofish_common.c
twofish.c
wp512.c
xcbc.c
xor.c
xts.c