X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=crypto%2Finternal.h;h=fc76e1f37fc35d0fd4928ec9326b330c22937d53;hb=7e0a16f6118a297dd467c1e5a0908429fcdf56af;hp=3c19a27a7563cd628513a777a59121a24caadf85;hpb=97b5fe8e28d78779e35ac283bacb9eceffd5b4a3;p=mv-sheeva.git diff --git a/crypto/internal.h b/crypto/internal.h index 3c19a27a756..fc76e1f37fc 100644 --- a/crypto/internal.h +++ b/crypto/internal.h @@ -109,8 +109,10 @@ void crypto_alg_tested(const char *name, int err); void crypto_shoot_alg(struct crypto_alg *alg); struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, u32 mask); -struct crypto_tfm *crypto_create_tfm(struct crypto_alg *alg, - const struct crypto_type *frontend); +void *crypto_create_tfm(struct crypto_alg *alg, + const struct crypto_type *frontend); +void *crypto_alloc_tfm(const char *alg_name, + const struct crypto_type *frontend, u32 type, u32 mask); int crypto_register_instance(struct crypto_template *tmpl, struct crypto_instance *inst);