X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=crypto%2Finternal.h;h=7eefcdb00227740e39a22d61515d016b4f36caa0;hb=d66435cc7da95964cb386674bd82ec12ca66320a;hp=00e42a3ed81431638b78a8df1616de978da1eaa6;hpb=90b90d06db0be30aeb89b6b4ab618d644211a85e;p=cascardo%2Flinux.git diff --git a/crypto/internal.h b/crypto/internal.h index 00e42a3ed814..7eefcdb00227 100644 --- a/crypto/internal.h +++ b/crypto/internal.h @@ -104,6 +104,9 @@ int crypto_probing_notify(unsigned long val, void *v); unsigned int crypto_alg_extsize(struct crypto_alg *alg); +int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, + u32 type, u32 mask); + static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) { atomic_inc(&alg->cra_refcnt);