diff options
Diffstat (limited to 'include/crypto')
| -rw-r--r-- | include/crypto/algapi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 1a598f829417..c533c0a291af 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h | |||
| @@ -15,6 +15,14 @@ | |||
| 15 | #include <linux/crypto.h> | 15 | #include <linux/crypto.h> |
| 16 | 16 | ||
| 17 | struct module; | 17 | struct module; |
| 18 | struct seq_file; | ||
| 19 | |||
| 20 | struct crypto_type { | ||
| 21 | unsigned int (*ctxsize)(struct crypto_alg *alg); | ||
| 22 | int (*init)(struct crypto_tfm *tfm); | ||
| 23 | void (*exit)(struct crypto_tfm *tfm); | ||
| 24 | void (*show)(struct seq_file *m, struct crypto_alg *alg); | ||
| 25 | }; | ||
| 18 | 26 | ||
| 19 | struct crypto_instance { | 27 | struct crypto_instance { |
| 20 | struct crypto_alg alg; | 28 | struct crypto_alg alg; |
