summaryrefslogtreecommitdiff
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-03-29 21:53:03 +0000
committerRich Felker <dalias@libc.org>2016-03-29 21:53:03 +0000
commited8b19a674c67e1007990991d4e02c02da07c952 (patch)
tree230d118992bfd9ac76f80822d34c2f4ea9819a44 /crypto/internal.h
parent5da64d0814134dc3542fb314a66dcdf74e8553bd (diff)
parentf349a25c7c6b753176540d10e6c243047faefa3a (diff)
downloadlinux-crypto-ed8b19a674c67e1007990991d4e02c02da07c952.tar.gz
linux-crypto-ed8b19a674c67e1007990991d4e02c02da07c952.zip
Merge tag 'v4.6-rc1'
Linux 4.6-rc1
Diffstat (limited to 'crypto/internal.h')
-rw-r--r--crypto/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/internal.h b/crypto/internal.h
index 00e42a3e..7eefcdb0 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -104,6 +104,9 @@ int crypto_probing_notify(unsigned long val, void *v);
unsigned int crypto_alg_extsize(struct crypto_alg *alg);
+int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
+ u32 type, u32 mask);
+
static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg)
{
atomic_inc(&alg->cra_refcnt);