diff options
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 7efa4d0533ff..030e22921c30 100644 --- a/crypto/internal.h +++ b/crypto/internal.h | |||
@@ -60,18 +60,6 @@ static inline void crypto_exit_proc(void) | |||
60 | { } | 60 | { } |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | static inline unsigned int crypto_digest_ctxsize(struct crypto_alg *alg) | ||
64 | { | ||
65 | unsigned int len = alg->cra_ctxsize; | ||
66 | |||
67 | if (alg->cra_alignmask) { | ||
68 | len = ALIGN(len, (unsigned long)alg->cra_alignmask + 1); | ||
69 | len += alg->cra_digest.dia_digestsize; | ||
70 | } | ||
71 | |||
72 | return len; | ||
73 | } | ||
74 | |||
75 | static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) | 63 | static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) |
76 | { | 64 | { |
77 | return alg->cra_ctxsize; | 65 | return alg->cra_ctxsize; |
@@ -86,12 +74,9 @@ struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); | |||
86 | struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask); | 74 | struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask); |
87 | struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); | 75 | struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); |
88 | 76 | ||
89 | int crypto_init_digest_ops(struct crypto_tfm *tfm); | ||
90 | int crypto_init_digest_ops_async(struct crypto_tfm *tfm); | ||
91 | int crypto_init_cipher_ops(struct crypto_tfm *tfm); | 77 | int crypto_init_cipher_ops(struct crypto_tfm *tfm); |
92 | int crypto_init_compress_ops(struct crypto_tfm *tfm); | 78 | int crypto_init_compress_ops(struct crypto_tfm *tfm); |
93 | 79 | ||
94 | void crypto_exit_digest_ops(struct crypto_tfm *tfm); | ||
95 | void crypto_exit_cipher_ops(struct crypto_tfm *tfm); | 80 | void crypto_exit_cipher_ops(struct crypto_tfm *tfm); |
96 | void crypto_exit_compress_ops(struct crypto_tfm *tfm); | 81 | void crypto_exit_compress_ops(struct crypto_tfm *tfm); |
97 | 82 | ||