2.6.28: add Kconfig prompt for the old crypto symbols
authorGabor Juhos <juhosg@openwrt.org>
Mon, 6 Apr 2009 18:08:48 +0000 (18:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 6 Apr 2009 18:08:48 +0000 (18:08 +0000)
SVN-Revision: 15122

target/linux/generic-2.6/config-2.6.28
target/linux/generic-2.6/patches-2.6.28/979-crypto_add_kconfig_prompts.patch [new file with mode: 0644]

index c5e2a19263d6600a24069671d25930603a842fad..262bec299859cdaeca8d7feaaab9990fc65cb864 100644 (file)
@@ -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 (file)
index 0000000..df7837d
--- /dev/null
@@ -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