|
@@ -16,7 +16,6 @@
|
|
#include <linux/highmem.h>
|
|
#include <linux/highmem.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/init.h>
|
|
#include <linux/init.h>
|
|
-#include <linux/kmod.h>
|
|
|
|
#include <asm/kmap_types.h>
|
|
#include <asm/kmap_types.h>
|
|
|
|
|
|
extern enum km_type crypto_km_types[];
|
|
extern enum km_type crypto_km_types[];
|
|
@@ -42,15 +41,6 @@ static inline void crypto_yield(struct crypto_tfm *tfm)
|
|
cond_resched();
|
|
cond_resched();
|
|
}
|
|
}
|
|
|
|
|
|
-struct crypto_alg *crypto_alg_lookup(const char *name);
|
|
|
|
-
|
|
|
|
-/* A far more intelligent version of this is planned. For now, just
|
|
|
|
- * try an exact match on the name of the algorithm. */
|
|
|
|
-static inline struct crypto_alg *crypto_alg_mod_lookup(const char *name)
|
|
|
|
-{
|
|
|
|
- return try_then_request_module(crypto_alg_lookup(name), name);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_CRYPTO_HMAC
|
|
#ifdef CONFIG_CRYPTO_HMAC
|
|
int crypto_alloc_hmac_block(struct crypto_tfm *tfm);
|
|
int crypto_alloc_hmac_block(struct crypto_tfm *tfm);
|
|
void crypto_free_hmac_block(struct crypto_tfm *tfm);
|
|
void crypto_free_hmac_block(struct crypto_tfm *tfm);
|