crypto: powerpc/sha1 - kernel config
authorMarkus Stockhausen <stockhausen@collogia.de>
Tue, 24 Feb 2015 19:36:50 +0000 (20:36 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 Mar 2015 10:22:20 +0000 (23:22 +1300)
Integrate the module into the kernel config tree.

Signed-off-by: Markus Stockhausen <stockhausen@collogia.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/Makefile
crypto/Kconfig

index 1698fb94b1ae67dcd238fcb868f4792fef36d087..d400bf9e43c68a22c658e14b90c64b48e112a589 100644 (file)
@@ -6,8 +6,10 @@
 
 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
 obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o
+obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o
 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
 
 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes_spe_glue.o
 sha1-powerpc-y := sha1-powerpc-asm.o sha1.o
+sha1-ppc-spe-y := sha1-spe-asm.o sha1_spe_glue.o
 sha256-ppc-spe-y := sha256-spe-asm.o sha256_spe_glue.o
index 14106b267c6f8dbcc512c4682cd53067ff44f25f..67275b7f176dd7b7dfa0e8095ad406d072acf4d2 100644 (file)
@@ -582,6 +582,13 @@ config CRYPTO_SHA1_PPC
          This is the powerpc hardware accelerated implementation of the
          SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
 
+config CRYPTO_SHA1_PPC_SPE
+       tristate "SHA1 digest algorithm (PPC SPE)"
+       depends on PPC && SPE
+       help
+         SHA-1 secure hash standard (DFIPS 180-4) implemented
+         using powerpc SPE SIMD instruction set.
+
 config CRYPTO_SHA1_MB
        tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)"
        depends on X86 && 64BIT