summaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-22 17:55:00 +1100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:38:54 -0800
commitcc44215eaaa5e4032946b962353526ae6c370c0e (patch)
tree7720cfef24c65f5306bdf738f8f88f3a7a70072f /crypto/api.c
parentab7827059adbbcc3624afbc58880287eabf6d277 (diff)
downloadlinux-stable-cc44215eaaa5e4032946b962353526ae6c370c0e.tar.gz
linux-stable-cc44215eaaa5e4032946b962353526ae6c370c0e.tar.bz2
linux-stable-cc44215eaaa5e4032946b962353526ae6c370c0e.zip
[CRYPTO] api: Remove unused functions
This patch removes the following no longer used functions: - api.c: crypto_alg_available() - digest.c: crypto_digest_init() - digest.c: crypto_digest_update() - digest.c: crypto_digest_final() - digest.c: crypto_digest_digest() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
-rw-r--r--crypto/api.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 4fb7fa45cb0d..8c446871cd5b 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -466,23 +466,8 @@ void crypto_free_tfm(struct crypto_tfm *tfm)
kfree(tfm);
}
-int crypto_alg_available(const char *name, u32 flags)
-{
- int ret = 0;
- struct crypto_alg *alg = crypto_alg_mod_lookup(name, 0,
- CRYPTO_ALG_ASYNC);
-
- if (!IS_ERR(alg)) {
- crypto_mod_put(alg);
- ret = 1;
- }
-
- return ret;
-}
-
EXPORT_SYMBOL_GPL(crypto_alloc_tfm);
EXPORT_SYMBOL_GPL(crypto_free_tfm);
-EXPORT_SYMBOL_GPL(crypto_alg_available);
int crypto_has_alg(const char *name, u32 type, u32 mask)
{