aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-01-06 11:28:00 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-01-06 11:28:00 +0000
commit8c634001bbb558ad877da765205a825ff8015900 (patch)
tree1d6fd1b6cc64b5c4b8c60bb878458d1e7a6ed713 /target/linux
parent2a25d9425062c55511f09f5621dcf49aea8233d6 (diff)
downloadupstream-8c634001bbb558ad877da765205a825ff8015900.tar.gz
upstream-8c634001bbb558ad877da765205a825ff8015900.tar.bz2
upstream-8c634001bbb558ad877da765205a825ff8015900.zip
Prevent crypto aead from failing to build with 2.6.24 targets (#4426)
SVN-Revision: 13882
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/config-2.6.241
-rw-r--r--target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch30
2 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/config-2.6.24 b/target/linux/generic-2.6/config-2.6.24
index 016406fd1a..0ccfd54408 100644
--- a/target/linux/generic-2.6/config-2.6.24
+++ b/target/linux/generic-2.6/config-2.6.24
@@ -235,6 +235,7 @@ CONFIG_CRC_CCITT=m
CONFIG_CRC_ITU_T=m
CONFIG_CROSSCOMPILE=y
CONFIG_CRYPTO=y
+CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_ALGAPI=m
CONFIG_CRYPTO_ANUBIS=m
diff --git a/target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch b/target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch
new file mode 100644
index 0000000000..ec3fdc65cd
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.24/975-crypto_kconfig_hacks.patch
@@ -0,0 +1,30 @@
+--- linux-2.6.24.7/crypto/Kconfig 2008-05-07 01:22:34.000000000 +0200
++++ linux-2.6.24.7.new/crypto/Kconfig 2009-01-06 12:14:43.000000000 +0100
+@@ -20,7 +20,7 @@
+ if CRYPTO
+
+ config CRYPTO_ALGAPI
+- tristate
++ tristate "ALG API"
+ help
+ This option provides the API for cryptographic algorithms.
+
+@@ -29,15 +29,15 @@
+ select CRYPTO_BLKCIPHER
+
+ config CRYPTO_AEAD
+- tristate
++ tristate "AEAD"
+ select CRYPTO_ALGAPI
+
+ config CRYPTO_BLKCIPHER
+- tristate
++ tristate "Block cipher"
+ select CRYPTO_ALGAPI
+
+ config CRYPTO_HASH
+- tristate
++ tristate "HASH"
+ select CRYPTO_ALGAPI
+
+ config CRYPTO_MANAGER