From 63f1472ca3898726f9e62845c3a8e47c4b51612b Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 6 Apr 2009 18:08:48 +0000 Subject: [kernel] 2.6.28: add Kconfig prompt for the old crypto symbols git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15122 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/config-2.6.28 | 5 ++- .../979-crypto_add_kconfig_prompts.patch | 47 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 target/linux/generic-2.6/patches-2.6.28/979-crypto_add_kconfig_prompts.patch diff --git a/target/linux/generic-2.6/config-2.6.28 b/target/linux/generic-2.6/config-2.6.28 index c5e2a1926..262bec299 100644 --- a/target/linux/generic-2.6/config-2.6.28 +++ b/target/linux/generic-2.6/config-2.6.28 @@ -263,7 +263,7 @@ CONFIG_CRC32=y # CONFIG_CRC_T10DIF is not set CONFIG_CROSSCOMPILE=y CONFIG_CRYPTO=y -# CONFIG_CRYPTO_AEAD is not set +CONFIG_CRYPTO_AEAD=m CONFIG_CRYPTO_AEAD2=m CONFIG_CRYPTO_AES=m CONFIG_CRYPTO_ALGAPI=m @@ -292,7 +292,7 @@ CONFIG_CRYPTO_ECB=m # CONFIG_CRYPTO_FIPS is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_GF128MUL is not set -# CONFIG_CRYPTO_HASH is not set +CONFIG_CRYPTO_HASH=m CONFIG_CRYPTO_HASH2=m # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_HW is not set @@ -311,6 +311,7 @@ CONFIG_CRYPTO_MANAGER2=m # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_RNG=m CONFIG_CRYPTO_RNG2=m # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SEED is not set diff --git a/target/linux/generic-2.6/patches-2.6.28/979-crypto_add_kconfig_prompts.patch b/target/linux/generic-2.6/patches-2.6.28/979-crypto_add_kconfig_prompts.patch new file mode 100644 index 000000000..df7837dba --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.28/979-crypto_add_kconfig_prompts.patch @@ -0,0 +1,47 @@ +--- a/crypto/Kconfig ++++ b/crypto/Kconfig +@@ -30,7 +30,7 @@ config CRYPTO_FIPS + this is. + + config CRYPTO_ALGAPI +- tristate ++ tristate "ALGAPI" + select CRYPTO_ALGAPI2 + help + This option provides the API for cryptographic algorithms. +@@ -39,7 +39,7 @@ config CRYPTO_ALGAPI2 + tristate + + config CRYPTO_AEAD +- tristate ++ tristate "AEAD" + select CRYPTO_AEAD2 + select CRYPTO_ALGAPI + +@@ -48,7 +48,7 @@ config CRYPTO_AEAD2 + select CRYPTO_ALGAPI2 + + config CRYPTO_BLKCIPHER +- tristate ++ tristate "BLKCIPHER" + select CRYPTO_BLKCIPHER2 + select CRYPTO_ALGAPI + +@@ -58,7 +58,7 @@ config CRYPTO_BLKCIPHER2 + select CRYPTO_RNG2 + + config CRYPTO_HASH +- tristate ++ tristate "HASH" + select CRYPTO_HASH2 + select CRYPTO_ALGAPI + +@@ -67,7 +67,7 @@ config CRYPTO_HASH2 + select CRYPTO_ALGAPI2 + + config CRYPTO_RNG +- tristate ++ tristate "RNG" + select CRYPTO_RNG2 + select CRYPTO_ALGAPI + -- cgit v1.2.3