summaryrefslogtreecommitdiff
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2008-03-30 16:36:09 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-04-21 10:19:23 +0800
commitc3715cb90f722b1cf5f6f073be02cc8a49659b90 (patch)
treeee1ec3eb75ee2083b41ee21dadc4342115f6e8fb /include/linux/crypto.h
parent76cb9521795a167ae3d206343c072f602d84f815 (diff)
downloadlwn-c3715cb90f722b1cf5f6f073be02cc8a49659b90.tar.gz
lwn-c3715cb90f722b1cf5f6f073be02cc8a49659b90.zip
[CRYPTO] api: Make the crypto subsystem fully modular
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 5e02d1b46370..425824bd49f3 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -317,14 +317,7 @@ int crypto_unregister_alg(struct crypto_alg *alg);
/*
* Algorithm query interface.
*/
-#ifdef CONFIG_CRYPTO
int crypto_has_alg(const char *name, u32 type, u32 mask);
-#else
-static inline int crypto_has_alg(const char *name, u32 type, u32 mask)
-{
- return 0;
-}
-#endif
/*
* Transforms: user-instantiated objects which encapsulate algorithms