mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
crypto: api - Make crypto_alg_lookup static
The function crypto_alg_lookup is only usd within the crypto API and should be not be exported to the modules. This patch marks it as a static function. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
4989d4f07a
commit
3ca1e99489
2 changed files with 2 additions and 3 deletions
|
@ -193,7 +193,8 @@ static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg)
|
||||||
return alg;
|
return alg;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask)
|
static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type,
|
||||||
|
u32 mask)
|
||||||
{
|
{
|
||||||
struct crypto_alg *alg;
|
struct crypto_alg *alg;
|
||||||
|
|
||||||
|
@ -203,7 +204,6 @@ struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask)
|
||||||
|
|
||||||
return alg;
|
return alg;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(crypto_alg_lookup);
|
|
||||||
|
|
||||||
static struct crypto_alg *crypto_larval_lookup(const char *name, u32 type,
|
static struct crypto_alg *crypto_larval_lookup(const char *name, u32 type,
|
||||||
u32 mask)
|
u32 mask)
|
||||||
|
|
|
@ -67,7 +67,6 @@ static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
|
struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
|
||||||
struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask);
|
|
||||||
struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
|
struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
|
||||||
|
|
||||||
int crypto_init_cipher_ops(struct crypto_tfm *tfm);
|
int crypto_init_cipher_ops(struct crypto_tfm *tfm);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue