]> Pileus Git - ~andy/linux/blobdiff - crypto/internal.h
crypto: api - Add crypto_attr_alg2 helper
[~andy/linux] / crypto / internal.h
index 95baaea21fbc914cdc6de01f460418e3d967e621..7efa4d0533fffe031a241c3a35d2599726e7b6fc 100644 (file)
@@ -106,6 +106,9 @@ struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
                                      u32 mask);
 void *crypto_create_tfm(struct crypto_alg *alg,
                        const struct crypto_type *frontend);
+struct crypto_alg *crypto_find_alg(const char *alg_name,
+                                  const struct crypto_type *frontend,
+                                  u32 type, u32 mask);
 void *crypto_alloc_tfm(const char *alg_name,
                       const struct crypto_type *frontend, u32 type, u32 mask);