linux/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 [CRYPTO] api: Fix potential race in crypto_remove_spawn 2007-11-23 19:32:09 +08:00
anubis.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
api.c
arc4.c
authenc.c [CRYPTO] authenc: Move initialisations up to shut up gcc 2007-11-23 19:32:09 +08:00
blkcipher.c
blowfish.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
camellia.c
cast5.c
cast6.c
cbc.c
cipher.c
compress.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
crc32c.c
cryptd.c
crypto_null.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
cryptomgr.c
deflate.c
des_generic.c
digest.c
ecb.c
fcrypt.c
gf128mul.c
hash.c
hmac.c [CRYPTO]: HMAC needs some more scatterlist fixups. 2007-10-26 00:37:12 -07:00
internal.h
Kconfig
khazad.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
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 cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
sha256_generic.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
sha512.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
tcrypt.c [CRYPTO] tcrypt: Move sg_init_table out of timing loops 2007-10-27 00:51:21 -07:00
tcrypt.h
tea.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
tgr192.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
twofish.c
twofish_common.c
wp512.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
xcbc.c
xor.c
xts.c