Commit 22e5b20b authored by Steffen Klassert's avatar Steffen Klassert Committed by Herbert Xu

crypto: Export crypto_remove_final

The upcomming crypto usrerspace configuration api needs
to remove the spawns on top on an algorithm, so export
crypto_remove_final.
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 89b596ba
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include "internal.h" #include "internal.h"
static void crypto_remove_final(struct list_head *list);
static LIST_HEAD(crypto_template_list); static LIST_HEAD(crypto_template_list);
void crypto_larval_error(const char *name, u32 type, u32 mask) void crypto_larval_error(const char *name, u32 type, u32 mask)
...@@ -321,7 +319,7 @@ void crypto_alg_tested(const char *name, int err) ...@@ -321,7 +319,7 @@ void crypto_alg_tested(const char *name, int err)
} }
EXPORT_SYMBOL_GPL(crypto_alg_tested); EXPORT_SYMBOL_GPL(crypto_alg_tested);
static void crypto_remove_final(struct list_head *list) void crypto_remove_final(struct list_head *list)
{ {
struct crypto_alg *alg; struct crypto_alg *alg;
struct crypto_alg *n; struct crypto_alg *n;
...@@ -331,6 +329,7 @@ static void crypto_remove_final(struct list_head *list) ...@@ -331,6 +329,7 @@ static void crypto_remove_final(struct list_head *list)
crypto_alg_put(alg); crypto_alg_put(alg);
} }
} }
EXPORT_SYMBOL_GPL(crypto_remove_final);
static void crypto_wait_for_test(struct crypto_larval *larval) static void crypto_wait_for_test(struct crypto_larval *larval)
{ {
......
...@@ -88,6 +88,7 @@ void crypto_alg_tested(const char *name, int err); ...@@ -88,6 +88,7 @@ void crypto_alg_tested(const char *name, int err);
void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
struct crypto_alg *nalg); struct crypto_alg *nalg);
void crypto_remove_final(struct list_head *list);
void crypto_shoot_alg(struct crypto_alg *alg); void crypto_shoot_alg(struct crypto_alg *alg);
struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
u32 mask); u32 mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment