summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorNicolas Royer2012-07-01 19:19:46 +0200
committerHerbert Xu2012-07-11 05:08:28 +0200
commitebc82efa1cd64efba0f41455460411b852b5b89c (patch)
tree7c63869c109c33dc4b4a5f95a46b24c688238117 /drivers/crypto/Kconfig
parentcrypto: atmel - add Atmel DES/TDES driver (diff)
downloadkernel-qcow2-linux-ebc82efa1cd64efba0f41455460411b852b5b89c.tar.gz
kernel-qcow2-linux-ebc82efa1cd64efba0f41455460411b852b5b89c.tar.xz
kernel-qcow2-linux-ebc82efa1cd64efba0f41455460411b852b5b89c.zip
crypto: atmel - add Atmel SHA1/SHA256 driver
Signed-off-by: Nicolas Royer <nicolas@eukrea.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Eric Bénard <eric@eukrea.com> Tested-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 76d489b8890f..7d74d092aa8f 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -365,4 +365,18 @@ config CRYPTO_DEV_ATMEL_TDES
To compile this driver as a module, choose M here: the module
will be called atmel-tdes.
+config CRYPTO_DEV_ATMEL_SHA
+ tristate "Support for Atmel SHA1/SHA256 hw accelerator"
+ depends on ARCH_AT91
+ select CRYPTO_SHA1
+ select CRYPTO_SHA256
+ select CRYPTO_ALGAPI
+ help
+ Some Atmel processors have SHA1/SHA256 hw accelerator.
+ Select this if you want to use the Atmel module for
+ SHA1/SHA256 algorithms.
+
+ To compile this driver as a module, choose M here: the module
+ will be called atmel-sha.
+
endif # CRYPTO_HW