cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
[openwrt/openwrt.git] / target / linux / omap / patches-3.12 / 601-crypto-omap-des-Add-config-and-build-options.patch
1 From patchwork Thu Aug 29 23:27:52 2013
2 Content-Type: text/plain; charset="utf-8"
3 MIME-Version: 1.0
4 Content-Transfer-Encoding: 7bit
5 Subject: [2/3] crypto: omap-des: Add config and build options
6 From: Joel Fernandes <joelf@ti.com>
7 X-Patchwork-Id: 2851671
8 Message-Id: <1377818873-21174-3-git-send-email-joelf@ti.com>
9 To: Herbert Xu <herbert@gondor.hengli.com.au>, "David S. Miller"
10 <davem@davemloft.net>, Mark Greer <mgreer@animalcreek.com>, Tony Lindgren
11 <tony@atomide.com>, Lokesh Vutla <lokeshvutla@ti.com>
12 Cc: Joel Fernandes <joelf@ti.com>,
13 Linux OMAP List <linux-omap@vger.kernel.org>,
14 Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
15 Linux ARM Kernel List <linux-arm-kernel@lists.infradead.org>,
16 Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
17 Date: Thu, 29 Aug 2013 18:27:52 -0500
18
19 Add config and build options for the newly added omap-des driver.
20
21 Signed-off-by: Joel Fernandes <joelf@ti.com>
22
23 ---
24 drivers/crypto/Kconfig | 11 +++++++++++
25 drivers/crypto/Makefile | 1 +
26 2 files changed, 12 insertions(+)
27
28 --- a/drivers/crypto/Kconfig
29 +++ b/drivers/crypto/Kconfig
30 @@ -263,6 +263,17 @@ config CRYPTO_DEV_OMAP_AES
31 OMAP processors have AES module accelerator. Select this if you
32 want to use the OMAP module for AES algorithms.
33
34 +config CRYPTO_DEV_OMAP_DES
35 + tristate "Support for OMAP DES3DES hw engine"
36 + depends on ARCH_OMAP2PLUS
37 + select CRYPTO_DES
38 + select CRYPTO_BLKCIPHER2
39 + help
40 + OMAP processors have DES/3DES module accelerator. Select this if you
41 + want to use the OMAP module for DES and 3DES algorithms. Currently
42 + the ECB and CBC modes of operation supported by the driver. Also
43 + accesses made on unaligned boundaries are also supported.
44 +
45 config CRYPTO_DEV_PICOXCELL
46 tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
47 depends on ARCH_PICOXCELL && HAVE_CLK
48 --- a/drivers/crypto/Makefile
49 +++ b/drivers/crypto/Makefile
50 @@ -11,6 +11,7 @@ obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4x
51 obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
52 obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
53 obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o
54 +obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o
55 obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o
56 obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
57 obj-$(CONFIG_CRYPTO_DEV_DCP) += dcp.o