summaryrefslogtreecommitdiff
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-03-20 08:05:39 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:32:58 +0800
commitff6ab56872fae7ac9c58dc6f560ba28350e96ffa (patch)
treec79742319e846ae05f095f89de085f700f835c95 /crypto/internal.h
parent4a437392ba64aa4aa6fcda8ae6e4245ba0c45ca3 (diff)
downloadlinux-crypto-ff6ab56872fae7ac9c58dc6f560ba28350e96ffa.tar.gz
linux-crypto-ff6ab56872fae7ac9c58dc6f560ba28350e96ffa.zip
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>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r--crypto/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/internal.h b/crypto/internal.h
index 5ac27fba..9a3f3993 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -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_alg_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);