diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-24 01:11:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-24 01:11:11 +0000 |
commit | ac905e8a7b3c75fd5651ab9a7a54c5f945b3750f (patch) | |
tree | ede49b9910615fbb8494fb4b6b93140a59c09da3 /target/linux/generic/patches-2.6.36 | |
parent | ac9a5cf885540e2d7101aab3813da3b583a67c6d (diff) | |
download | master-31e0f0ae-ac905e8a7b3c75fd5651ab9a7a54c5f945b3750f.tar.gz master-31e0f0ae-ac905e8a7b3c75fd5651ab9a7a54c5f945b3750f.tar.bz2 master-31e0f0ae-ac905e8a7b3c75fd5651ab9a7a54c5f945b3750f.zip |
kernel: the patch to disable the crypto tests is no longer necessary since 2.6.36, remove it
SVN-Revision: 25689
Diffstat (limited to 'target/linux/generic/patches-2.6.36')
-rw-r--r-- | target/linux/generic/patches-2.6.36/260-crypto_optional_tests.patch | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/target/linux/generic/patches-2.6.36/260-crypto_optional_tests.patch b/target/linux/generic/patches-2.6.36/260-crypto_optional_tests.patch deleted file mode 100644 index 38113dfa70..0000000000 --- a/target/linux/generic/patches-2.6.36/260-crypto_optional_tests.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- a/crypto/Kconfig -+++ b/crypto/Kconfig -@@ -109,6 +109,10 @@ config CRYPTO_MANAGER_DISABLE_TESTS - Disable run-time self tests that normally take place at - algorithm registration. - -+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 -@@ -58,6 +58,8 @@ int alg_test(const char *driver, const c - #define ENCRYPT 1 - #define DECRYPT 0 - -+#ifndef CONFIG_CRYPTO_MANAGER_NO_TESTS -+ - struct tcrypt_result { - struct completion completion; - int err; -@@ -2484,8 +2486,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; -@@ -2540,6 +2545,9 @@ notest: - return 0; - non_fips_alg: - return -EINVAL; -+#else /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ -+ return 0; -+#endif /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ - } - - #endif /* CONFIG_CRYPTO_MANAGER_DISABLE_TESTS */ ---- 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 - -@@ -9608,4 +9610,6 @@ static struct hash_testvec crc32c_tv_tem - }, - }; - -+#endif /* CONFIG_CRYPTO_MANAGER_NO_TESTS */ -+ - #endif /* _CRYPTO_TESTMGR_H */ |