diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-12-17 17:10:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-12-17 17:10:04 +0000 |
commit | 0d01356fc69e536f51d8694689bf1b55ea4b508d (patch) | |
tree | 55b8af1c9b2364575dd7202ba4bc5dc877ebe169 /target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch | |
parent | 8390b7dc9b1dd45dfc3a605c92ba3ff03ff0ff59 (diff) | |
download | master-31e0f0ae-0d01356fc69e536f51d8694689bf1b55ea4b508d.tar.gz master-31e0f0ae-0d01356fc69e536f51d8694689bf1b55ea4b508d.tar.bz2 master-31e0f0ae-0d01356fc69e536f51d8694689bf1b55ea4b508d.zip |
generic: nuke 2.6.33 specific stuff, is not used by any platform
SVN-Revision: 24644
Diffstat (limited to 'target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch b/target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch deleted file mode 100644 index 3b28502a64..0000000000 --- a/target/linux/generic/patches-2.6.33/260-crypto_optional_tests.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- a/crypto/Kconfig -+++ b/crypto/Kconfig -@@ -96,6 +96,10 @@ config CRYPTO_MANAGER2 - select CRYPTO_BLKCIPHER2 - select CRYPTO_PCOMP - -+config CRYPTO_MANAGER_NO_TESTS -+ bool "Disable internal testsuite to save space" -+ depends on CRYPTO_MANAGER -+ - config CRYPTO_GF128MUL - tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" - depends on EXPERIMENTAL ---- a/crypto/testmgr.c -+++ b/crypto/testmgr.c -@@ -47,6 +47,8 @@ - #define ENCRYPT 1 - #define DECRYPT 0 - -+#ifndef CONFIG_CRYPTO_MANAGER_NO_TESTS -+ - struct tcrypt_result { - struct completion completion; - int err; -@@ -2359,8 +2361,11 @@ static int alg_find_test(const char *alg - return -1; - } - -+#endif /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ -+ - int alg_test(const char *driver, const char *alg, u32 type, u32 mask) - { -+#ifndef CONFIG_CRYPTO_MANAGER_NO_TESTS - int i; - int j; - int rc; -@@ -2415,5 +2420,8 @@ notest: - return 0; - non_fips_alg: - return -EINVAL; -+#else /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ -+ return 0; -+#endif /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ - } - EXPORT_SYMBOL_GPL(alg_test); ---- a/crypto/testmgr.h -+++ b/crypto/testmgr.h -@@ -20,6 +20,8 @@ - - #include <crypto/compress.h> - -+#ifndef CONFIG_CRYPTO_MANAGER_NO_TESTS -+ - #define MAX_DIGEST_SIZE 64 - #define MAX_TAP 8 - -@@ -9552,4 +9554,6 @@ static struct hash_testvec crc32c_tv_tem - }, - }; - -+#endif /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ -+ - #endif /* _CRYPTO_TESTMGR_H */ |