[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>
Showing
- crypto/algapi.c 169 additions, 16 deletionscrypto/algapi.c
- crypto/api.c 65 additions, 30 deletionscrypto/api.c
- crypto/cryptomgr.c 12 additions, 7 deletionscrypto/cryptomgr.c
- crypto/internal.h 19 additions, 0 deletionscrypto/internal.h
- include/crypto/algapi.h 11 additions, 0 deletionsinclude/crypto/algapi.h
- include/linux/crypto.h 4 additions, 0 deletionsinclude/linux/crypto.h
Loading
Please register or sign in to comment