aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/crypto/algapi.h1
-rw-r--r--include/linux/crypto.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index 60d06e784be3..5fb6d8618d4d 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -23,7 +23,6 @@ struct seq_file;
23struct crypto_type { 23struct crypto_type {
24 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); 24 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
25 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); 25 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask);
26 void (*exit)(struct crypto_tfm *tfm);
27 void (*show)(struct seq_file *m, struct crypto_alg *alg); 26 void (*show)(struct seq_file *m, struct crypto_alg *alg);
28}; 27};
29 28
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 3d2317e4af2e..ea52cd944fd9 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -480,6 +480,8 @@ struct crypto_tfm {
480 struct compress_tfm compress; 480 struct compress_tfm compress;
481 struct rng_tfm rng; 481 struct rng_tfm rng;
482 } crt_u; 482 } crt_u;
483
484 void (*exit)(struct crypto_tfm *tfm);
483 485
484 struct crypto_alg *__crt_alg; 486 struct crypto_alg *__crt_alg;
485 487