aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/internal.h
diff options
context:
space:
mode:
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 6d8d21310585..48cb70416d59 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -108,6 +108,9 @@ int crypto_register_instance(struct crypto_template *tmpl,
108int crypto_register_notifier(struct notifier_block *nb); 108int crypto_register_notifier(struct notifier_block *nb);
109int crypto_unregister_notifier(struct notifier_block *nb); 109int crypto_unregister_notifier(struct notifier_block *nb);
110 110
111int __init testmgr_init(void);
112void testmgr_exit(void);
113
111static inline void crypto_alg_put(struct crypto_alg *alg) 114static inline void crypto_alg_put(struct crypto_alg *alg)
112{ 115{
113 if (atomic_dec_and_test(&alg->cra_refcnt) && alg->cra_destroy) 116 if (atomic_dec_and_test(&alg->cra_refcnt) && alg->cra_destroy)