diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 06:45:45 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 06:45:45 -0400 |
commit | 9cd899a32f611eb6328014f1d9e0ba31977812d9 (patch) | |
tree | 5f217da3aaec5caffe86a80053c44d01a4211ff0 /crypto/internal.h | |
parent | 52861c7cd711fac97b37ae0f4842a9ad26ecae72 (diff) |
crypto: cryptd - Switch to template create API
This patch changes cryptd to use the template->create function
instead of alloc in anticipation for the switch to new style
ahash algorithms.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 030e22921c30..2d226362e594 100644 --- a/crypto/internal.h +++ b/crypto/internal.h | |||
@@ -97,9 +97,6 @@ struct crypto_alg *crypto_find_alg(const char *alg_name, | |||
97 | void *crypto_alloc_tfm(const char *alg_name, | 97 | void *crypto_alloc_tfm(const char *alg_name, |
98 | const struct crypto_type *frontend, u32 type, u32 mask); | 98 | const struct crypto_type *frontend, u32 type, u32 mask); |
99 | 99 | ||
100 | int crypto_register_instance(struct crypto_template *tmpl, | ||
101 | struct crypto_instance *inst); | ||
102 | |||
103 | int crypto_register_notifier(struct notifier_block *nb); | 100 | int crypto_register_notifier(struct notifier_block *nb); |
104 | int crypto_unregister_notifier(struct notifier_block *nb); | 101 | int crypto_unregister_notifier(struct notifier_block *nb); |
105 | int crypto_probing_notify(unsigned long val, void *v); | 102 | int crypto_probing_notify(unsigned long val, void *v); |