[CRYPTO] api: Added spawns
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:39:29 +0000 (11:39 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:39:29 +0000 (11:39 +1000)
commit6bfd48096ff8ecabf955958b51ddfa7988eb0a14
tree813799f00d8402348ba6817953b1c631541be66c
parent492e2b63eb10c28f4f0b694264d74a8755cd1be0
[CRYPTO] api: Added spawns

Spawns lock a specific crypto algorithm in place.  They can then be used
with crypto_spawn_tfm to allocate a tfm for that algorithm.  When the base
algorithm of a spawn is deregistered, all its spawns will be automatically
removed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/algapi.c
crypto/api.c
crypto/cryptomgr.c
crypto/internal.h
include/crypto/algapi.h
include/linux/crypto.h