X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c3fd35e7800ae1f2dd3fa42ade850c948e4b18ea..21bfdcd4ab1d414ecbbc6eb175196cd4da38c280:/target/linux/generic-2.6/patches-2.6.31/970-ocf_kbuild_integration.patch diff --git a/target/linux/generic-2.6/patches-2.6.31/970-ocf_kbuild_integration.patch b/target/linux/generic-2.6/patches-2.6.31/970-ocf_kbuild_integration.patch index 54740df08..61897eb4a 100644 --- a/target/linux/generic-2.6/patches-2.6.31/970-ocf_kbuild_integration.patch +++ b/target/linux/generic-2.6/patches-2.6.31/970-ocf_kbuild_integration.patch @@ -1,25 +1,20 @@ --- a/crypto/Kconfig +++ b/crypto/Kconfig -@@ -794,6 +794,8 @@ config CRYPTO_ANSI_CPRNG - for cryptographic modules. Uses the Algorithm specified in - ANSI X9.31 A.2.4 - -+source "crypto/ocf/Kconfig" -+ +@@ -791,3 +791,6 @@ config CRYPTO_ANSI_CPRNG source "drivers/crypto/Kconfig" endif # if CRYPTO ++ ++source "crypto/ocf/Kconfig" ++ --- a/crypto/Makefile +++ b/crypto/Makefile -@@ -86,6 +86,11 @@ obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_ +@@ -84,6 +84,8 @@ obj-$(CONFIG_CRYPTO_RNG2) += krng.o + obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o - # -+# OCF -+# +obj-$(CONFIG_OCF_OCF) += ocf/ + -+# + # # generic algorithms and the async_tx api # - obj-$(CONFIG_XOR_BLOCKS) += xor.o