crypto: omap-des - Add config and build options
authorJoel Fernandes <joelf@ti.com>
Fri, 14 Feb 2014 16:49:47 +0000 (10:49 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Feb 2014 21:56:57 +0000 (05:56 +0800)
Add config and build options for the omap-des driver.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile

index 13857f5d28f782029c92772a46931de23b7c790e..8e38000990d7913fcb11944c48495e95333de517 100644 (file)
@@ -262,6 +262,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
index 0bc6aa0a54d78090fd1b2484e7fe89d01028ae10..9a53fb8ceff9b018073e545e0c6f83b30ade4c23 100644 (file)
@@ -13,6 +13,7 @@ obj-$(CONFIG_CRYPTO_DEV_NIAGARA2) += n2_crypto.o
 n2_crypto-y := n2_core.o n2_asm.o
 obj-$(CONFIG_CRYPTO_DEV_NX) += nx/
 obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o
+obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o
 obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o
 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o