crypto: ppc/sha256 - kernel config
authorMarkus Stockhausen <stockhausen@collogia.de>
Fri, 30 Jan 2015 14:39:34 +0000 (15:39 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Feb 2015 09:48:47 +0000 (22:48 +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 2926fb9c570ade31f7011aa57a3e80f25e9b8615..a07e763befb54721074bcfece9669076c29700a5 100644 (file)
@@ -5,5 +5,7 @@
 #
 
 obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o
+obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
 
 sha1-powerpc-y := sha1-powerpc-asm.o sha1.o
+sha256-ppc-spe-y := sha256-spe-asm.o sha256_spe_glue.o
index 50f4da44a304610a649073d649d9a59bc24ce1dc..2ca8d15e0b6fe2882b47d9bf2e1480fabbdb0b40 100644 (file)
@@ -610,6 +610,15 @@ config CRYPTO_SHA256
          This code also includes SHA-224, a 224 bit hash with 112 bits
          of security against collision attacks.
 
+config CRYPTO_SHA256_PPC_SPE
+       tristate "SHA224 and SHA256 digest algorithm (PPC SPE)"
+       depends on PPC && SPE
+       select CRYPTO_SHA256
+       select CRYPTO_HASH
+       help
+         SHA224 and SHA256 secure hash standard (DFIPS 180-2)
+         implemented using powerpc SPE SIMD instruction set.
+
 config CRYPTO_SHA256_SPARC64
        tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
        depends on SPARC64
This page took 0.031513 seconds and 5 git commands to generate.