serial: RS485 ioctl structure uses __u32 include linux/types.h
[safe/jmp/linux-2.6] / crypto / internal.h
index fc93743..3c19a27 100644 (file)
 #include <linux/rwsem.h>
 #include <linux/slab.h>
 
+#ifdef CONFIG_CRYPTO_FIPS
+extern int fips_enabled;
+#else
+#define fips_enabled 0
+#endif
+
 /* Crypto notification events. */
 enum {
        CRYPTO_MSG_ALG_REQUEST,
@@ -103,6 +109,8 @@ 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);
 
 int crypto_register_instance(struct crypto_template *tmpl,
                             struct crypto_instance *inst);