diff options
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 3a08d25fba45..c08d93bdadc4 100644 --- a/crypto/internal.h +++ b/crypto/internal.h | |||
@@ -43,6 +43,7 @@ struct crypto_larval { | |||
43 | struct crypto_alg alg; | 43 | struct crypto_alg alg; |
44 | struct crypto_alg *adult; | 44 | struct crypto_alg *adult; |
45 | struct completion completion; | 45 | struct completion completion; |
46 | u32 mask; | ||
46 | }; | 47 | }; |
47 | 48 | ||
48 | extern struct list_head crypto_alg_list; | 49 | extern struct list_head crypto_alg_list; |
@@ -124,7 +125,8 @@ static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg, | |||
124 | 125 | ||
125 | struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); | 126 | struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); |
126 | void crypto_mod_put(struct crypto_alg *alg); | 127 | void crypto_mod_put(struct crypto_alg *alg); |
127 | struct crypto_alg *__crypto_alg_lookup(const char *name); | 128 | struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, u32 mask); |
129 | struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); | ||
128 | 130 | ||
129 | int crypto_init_digest_flags(struct crypto_tfm *tfm, u32 flags); | 131 | int crypto_init_digest_flags(struct crypto_tfm *tfm, u32 flags); |
130 | int crypto_init_cipher_flags(struct crypto_tfm *tfm, u32 flags); | 132 | int crypto_init_cipher_flags(struct crypto_tfm *tfm, u32 flags); |
@@ -138,7 +140,7 @@ void crypto_exit_digest_ops(struct crypto_tfm *tfm); | |||
138 | void crypto_exit_cipher_ops(struct crypto_tfm *tfm); | 140 | void crypto_exit_cipher_ops(struct crypto_tfm *tfm); |
139 | void crypto_exit_compress_ops(struct crypto_tfm *tfm); | 141 | void crypto_exit_compress_ops(struct crypto_tfm *tfm); |
140 | 142 | ||
141 | void crypto_larval_error(const char *name); | 143 | void crypto_larval_error(const char *name, u32 type, u32 mask); |
142 | 144 | ||
143 | int crypto_register_instance(struct crypto_template *tmpl, | 145 | int crypto_register_instance(struct crypto_template *tmpl, |
144 | struct crypto_instance *inst); | 146 | struct crypto_instance *inst); |