summaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-31 17:08:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-29 15:49:55 +1000
commitda7f033ddc9fdebb3223b0bf88a2a2ab5b797608 (patch)
tree619aa89f8787abf07a66e3925bfc72c44a067b04 /include/linux/crypto.h
parent01b323245e4f6d4a22ffd73754f145f45c85988c (diff)
downloadop-kernel-dev-da7f033ddc9fdebb3223b0bf88a2a2ab5b797608.zip
op-kernel-dev-da7f033ddc9fdebb3223b0bf88a2a2ab5b797608.tar.gz
crypto: cryptomgr - Add test infrastructure
This patch moves the newly created alg_test infrastructure into cryptomgr. This shall allow us to use it for testing at algorithm registrations. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index c43dc47..7ea0a4b 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -515,6 +515,8 @@ struct crypto_tfm *crypto_alloc_tfm(const char *alg_name, u32 tfm_flags);
struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
void crypto_free_tfm(struct crypto_tfm *tfm);
+int alg_test(const char *driver, const char *alg, u32 type, u32 mask);
+
/*
* Transform helpers which query the underlying algorithm.
*/
OpenPOWER on IntegriCloud