diff options
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/algapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index b20f4bdb23ba..1a598f829417 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h | |||
@@ -51,6 +51,11 @@ int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg, | |||
51 | void crypto_drop_spawn(struct crypto_spawn *spawn); | 51 | void crypto_drop_spawn(struct crypto_spawn *spawn); |
52 | struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn); | 52 | struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn); |
53 | 53 | ||
54 | struct crypto_alg *crypto_get_attr_alg(void *param, unsigned int len, | ||
55 | u32 type, u32 mask); | ||
56 | struct crypto_instance *crypto_alloc_instance(const char *name, | ||
57 | struct crypto_alg *alg); | ||
58 | |||
54 | static inline void *crypto_instance_ctx(struct crypto_instance *inst) | 59 | static inline void *crypto_instance_ctx(struct crypto_instance *inst) |
55 | { | 60 | { |
56 | return inst->__ctx; | 61 | return inst->__ctx; |