diff options
author | Joel Fernandes <joelf@ti.com> | 2014-02-14 11:49:47 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-02-26 16:56:57 -0500 |
commit | 701d0f1940925d40f6b8a40f6c278d14be71402b (patch) | |
tree | b220793116ed3f292a08f7c36e5c183aedc513e0 | |
parent | e91aa9d50c3561c4a40b87d1d302db851f07ef31 (diff) |
crypto: omap-des - Add config and build options
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>
-rw-r--r-- | drivers/crypto/Kconfig | 11 | ||||
-rw-r--r-- | drivers/crypto/Makefile | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 13857f5d28f7..8e38000990d7 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -262,6 +262,17 @@ config CRYPTO_DEV_OMAP_AES | |||
262 | OMAP processors have AES module accelerator. Select this if you | 262 | OMAP processors have AES module accelerator. Select this if you |
263 | want to use the OMAP module for AES algorithms. | 263 | want to use the OMAP module for AES algorithms. |
264 | 264 | ||
265 | config CRYPTO_DEV_OMAP_DES | ||
266 | tristate "Support for OMAP DES3DES hw engine" | ||
267 | depends on ARCH_OMAP2PLUS | ||
268 | select CRYPTO_DES | ||
269 | select CRYPTO_BLKCIPHER2 | ||
270 | help | ||
271 | OMAP processors have DES/3DES module accelerator. Select this if you | ||
272 | want to use the OMAP module for DES and 3DES algorithms. Currently | ||
273 | the ECB and CBC modes of operation supported by the driver. Also | ||
274 | accesses made on unaligned boundaries are also supported. | ||
275 | |||
265 | config CRYPTO_DEV_PICOXCELL | 276 | config CRYPTO_DEV_PICOXCELL |
266 | tristate "Support for picoXcell IPSEC and Layer2 crypto engines" | 277 | tristate "Support for picoXcell IPSEC and Layer2 crypto engines" |
267 | depends on ARCH_PICOXCELL && HAVE_CLK | 278 | depends on ARCH_PICOXCELL && HAVE_CLK |
diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 0bc6aa0a54d7..9a53fb8ceff9 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile | |||
@@ -13,6 +13,7 @@ obj-$(CONFIG_CRYPTO_DEV_NIAGARA2) += n2_crypto.o | |||
13 | n2_crypto-y := n2_core.o n2_asm.o | 13 | n2_crypto-y := n2_core.o n2_asm.o |
14 | obj-$(CONFIG_CRYPTO_DEV_NX) += nx/ | 14 | obj-$(CONFIG_CRYPTO_DEV_NX) += nx/ |
15 | obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o | 15 | obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o |
16 | obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o | ||
16 | obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o | 17 | obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o |
17 | obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o | 18 | obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o |
18 | obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o | 19 | obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o |