aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/algapi.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-03-20 07:41:00 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:32:57 +0800
commit4989d4f07a8e738b33a79099ddbdd8e125a4da1b (patch)
treea4f30c583b20a31be702397ee3c4ab3b6f0f1254 /include/crypto/algapi.h
parentcrypto: chelsio - Remove declaration of static function from header (diff)
downloadlinux-dev-4989d4f07a8e738b33a79099ddbdd8e125a4da1b.tar.xz
linux-dev-4989d4f07a8e738b33a79099ddbdd8e125a4da1b.zip
crypto: api - Remove unused crypto_type lookup function
The lookup function in crypto_type was only used for the implicit IV generators which have been completely removed from the crypto API. This patch removes the lookup function as it is now useless. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r--include/crypto/algapi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index e3cebf640c00..1aba888241dd 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -30,7 +30,6 @@ struct crypto_type {
int (*init_tfm)(struct crypto_tfm *tfm);
void (*show)(struct seq_file *m, struct crypto_alg *alg);
int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
- struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask);
void (*free)(struct crypto_instance *inst);
unsigned int type;