diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-08-03 21:15:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-08-29 15:49:57 +1000 |
commit | 73d3864a4823abda19ebc4387b6ddcbf416e3a77 (patch) | |
tree | 2939754dc2532f412c34a974e5f22dde112c525d /include/linux/crypto.h | |
parent | da7f033ddc9fdebb3223b0bf88a2a2ab5b797608 (diff) | |
download | kernel_samsung_crespo-73d3864a4823abda19ebc4387b6ddcbf416e3a77.zip kernel_samsung_crespo-73d3864a4823abda19ebc4387b6ddcbf416e3a77.tar.gz kernel_samsung_crespo-73d3864a4823abda19ebc4387b6ddcbf416e3a77.tar.bz2 |
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 7ea0a4b..81d994a 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -61,6 +61,14 @@ #define CRYPTO_ALG_GENIV 0x00000200 /* + * Set if the algorithm has passed automated run-time testing. Note that + * if there is no run-time testing for a given algorithm it is considered + * to have passed. + */ + +#define CRYPTO_ALG_TESTED 0x00000400 + +/* * Transform masks and values (for crt_flags). */ #define CRYPTO_TFM_REQ_MASK 0x000fff00 |