aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/api.c')
-rw-r--r--crypto/api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/api.c b/crypto/api.c
index d06e33270abe..0906cedd4521 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -55,7 +55,8 @@ void crypto_mod_put(struct crypto_alg *alg)
55} 55}
56EXPORT_SYMBOL_GPL(crypto_mod_put); 56EXPORT_SYMBOL_GPL(crypto_mod_put);
57 57
58struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, u32 mask) 58static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type,
59 u32 mask)
59{ 60{
60 struct crypto_alg *q, *alg = NULL; 61 struct crypto_alg *q, *alg = NULL;
61 int best = -2; 62 int best = -2;
@@ -92,7 +93,6 @@ struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, u32 mask)
92 93
93 return alg; 94 return alg;
94} 95}
95EXPORT_SYMBOL_GPL(__crypto_alg_lookup);
96 96
97static void crypto_larval_destroy(struct crypto_alg *alg) 97static void crypto_larval_destroy(struct crypto_alg *alg)
98{ 98{
@@ -165,8 +165,7 @@ static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg)
165 return alg; 165 return alg;
166} 166}
167 167
168static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, 168struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask)
169 u32 mask)
170{ 169{
171 struct crypto_alg *alg; 170 struct crypto_alg *alg;
172 171
@@ -176,6 +175,7 @@ static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type,
176 175
177 return alg; 176 return alg;
178} 177}
178EXPORT_SYMBOL_GPL(crypto_alg_lookup);
179 179
180struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask) 180struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask)
181{ 181{