[CRYPTO] padlock: Driver for SHA1 / SHA256 algorithms
authorMichal Ludvig <michal@logix.cz>
Wed, 12 Jul 2006 02:29:38 +0000 (12:29 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:40:59 +0000 (11:40 +1000)
Support for SHA1 / SHA256 algorithms in VIA C7 processors.

Signed-off-by: Michal Ludvig <michal@logix.cz>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/padlock-sha.c [new file with mode: 0644]

index d260c86..910c715 100644 (file)
@@ -27,4 +27,18 @@ config CRYPTO_DEV_PADLOCK_AES
          If unsure say M. The compiled module will be
          called padlock-aes.ko
 
+config CRYPTO_DEV_PADLOCK_SHA
+       tristate "PadLock driver for SHA1 and SHA256 algorithms"
+       depends on CRYPTO_DEV_PADLOCK
+       select CRYPTO_SHA1
+       select CRYPTO_SHA256
+       default m
+       help
+         Use VIA PadLock for SHA1/SHA256 algorithms.
+
+         Available in VIA C7 and newer processors.
+
+         If unsure say M. The compiled module will be
+         called padlock-sha.ko
+
 endmenu
index 5e7d7d5..df498c7 100644 (file)
@@ -1 +1,2 @@
 obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o
+obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
Simple merge