summaryrefslogtreecommitdiff
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2011-09-27 07:22:08 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-10-21 14:24:03 +0200
commitd3f4ae8e75ad2abc583dbe3e51d868682cc5ba40 (patch)
treeb4f62f24f155edb7bc51188ee72c28e2a9b1c4f4 /crypto/internal.h
parentb916cc846ec25296069791c00ad91967bc6b8614 (diff)
downloadlinux-crypto-d3f4ae8e75ad2abc583dbe3e51d868682cc5ba40.tar.gz
linux-crypto-d3f4ae8e75ad2abc583dbe3e51d868682cc5ba40.zip
crypto: Export crypto_remove_spawns
The upcomming crypto usrerspace configuration api needs to remove the spawns on top on an algorithm, so export crypto_remove_spawns. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r--crypto/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/internal.h b/crypto/internal.h
index d4384b08..b6dcb31c 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -86,6 +86,8 @@ struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask);
void crypto_larval_error(const char *name, u32 type, u32 mask);
void crypto_alg_tested(const char *name, int err);
+void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
+ struct crypto_alg *nalg);
void crypto_shoot_alg(struct crypto_alg *alg);
struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
u32 mask);