diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2013-11-15 12:23:17 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2013-11-15 12:23:17 +0000 |
commit | b041af2c640ab6716e0c1db72950b1e0e99afae0 (patch) | |
tree | a9572752deb28aa978615d39b24eeb9d8b9362b6 /target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch | |
parent | 6bf4a75ce914ad43855d24d98cb8eeba179e4b2b (diff) | |
download | upstream-b041af2c640ab6716e0c1db72950b1e0e99afae0.tar.gz upstream-b041af2c640ab6716e0c1db72950b1e0e99afae0.tar.bz2 upstream-b041af2c640ab6716e0c1db72950b1e0e99afae0.zip |
[omap]: replace the TI patch with a smaller patchset
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38816 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch')
-rw-r--r-- | target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch b/target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch new file mode 100644 index 0000000000..495e1a24de --- /dev/null +++ b/target/linux/omap/patches-3.12/601-crypto-omap-des-Add-config-and-build-options.patch @@ -0,0 +1,61 @@ +From patchwork Thu Aug 29 23:27:52 2013 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: [2/3] crypto: omap-des: Add config and build options +From: Joel Fernandes <joelf@ti.com> +X-Patchwork-Id: 2851671 +Message-Id: <1377818873-21174-3-git-send-email-joelf@ti.com> +To: Herbert Xu <herbert@gondor.hengli.com.au>, "David S. Miller" + <davem@davemloft.net>, Mark Greer <mgreer@animalcreek.com>, Tony Lindgren + <tony@atomide.com>, Lokesh Vutla <lokeshvutla@ti.com> +Cc: Joel Fernandes <joelf@ti.com>, + Linux OMAP List <linux-omap@vger.kernel.org>, + Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, + Linux ARM Kernel List <linux-arm-kernel@lists.infradead.org>, + Linux Crypto Mailing List <linux-crypto@vger.kernel.org> +Date: Thu, 29 Aug 2013 18:27:52 -0500 + +Add config and build options for the newly added omap-des driver. + +Signed-off-by: Joel Fernandes <joelf@ti.com> + +--- +drivers/crypto/Kconfig | 11 +++++++++++ + drivers/crypto/Makefile | 1 + + 2 files changed, 12 insertions(+) + +diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig +index e289afa..119a8e5 100644 +--- a/drivers/crypto/Kconfig ++++ b/drivers/crypto/Kconfig +@@ -259,6 +259,17 @@ config CRYPTO_DEV_OMAP_AES + OMAP processors have AES module accelerator. Select this if you + want to use the OMAP module for AES algorithms. + ++config CRYPTO_DEV_OMAP_DES ++ tristate "Support for OMAP DES3DES hw engine" ++ depends on ARCH_OMAP2PLUS ++ select CRYPTO_DES ++ select CRYPTO_BLKCIPHER2 ++ help ++ OMAP processors have DES/3DES module accelerator. Select this if you ++ want to use the OMAP module for DES and 3DES algorithms. Currently ++ the ECB and CBC modes of operation supported by the driver. Also ++ accesses made on unaligned boundaries are also supported. ++ + config CRYPTO_DEV_PICOXCELL + tristate "Support for picoXcell IPSEC and Layer2 crypto engines" + depends on ARCH_PICOXCELL && HAVE_CLK +diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile +index 38ce13d..ada440f 100644 +--- a/drivers/crypto/Makefile ++++ b/drivers/crypto/Makefile +@@ -11,6 +11,7 @@ obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o + obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/ + obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o + obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o ++obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o + obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o + obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o + obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o |