aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-08-03 09:15:23 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-29 01:49:57 -0400
commit73d3864a4823abda19ebc4387b6ddcbf416e3a77 (patch)
tree2939754dc2532f412c34a974e5f22dde112c525d /include/linux/crypto.h
parentda7f033ddc9fdebb3223b0bf88a2a2ab5b797608 (diff)
crypto: api - Use test infrastructure
This patch makes use of the new testing infrastructure by requiring algorithms to pass a run-time test before they're made available to users. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 7ea0a4bc4ced..81d994a3bdaf 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -61,6 +61,14 @@
61#define CRYPTO_ALG_GENIV 0x00000200 61#define CRYPTO_ALG_GENIV 0x00000200
62 62
63/* 63/*
64 * Set if the algorithm has passed automated run-time testing. Note that
65 * if there is no run-time testing for a given algorithm it is considered
66 * to have passed.
67 */
68
69#define CRYPTO_ALG_TESTED 0x00000400
70
71/*
64 * Transform masks and values (for crt_flags). 72 * Transform masks and values (for crt_flags).
65 */ 73 */
66#define CRYPTO_TFM_REQ_MASK 0x000fff00 74#define CRYPTO_TFM_REQ_MASK 0x000fff00