Commit 2ecc1e95 authored by Markus Stockhausen's avatar Markus Stockhausen Committed by Herbert Xu

crypto: ppc/sha256 - kernel config

Integrate the module into the kernel config tree.
Signed-off-by: default avatarMarkus Stockhausen <stockhausen@collogia.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c147028c
...@@ -5,5 +5,7 @@ ...@@ -5,5 +5,7 @@
# #
obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o 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 sha1-powerpc-y := sha1-powerpc-asm.o sha1.o
sha256-ppc-spe-y := sha256-spe-asm.o sha256_spe_glue.o
...@@ -610,6 +610,15 @@ config CRYPTO_SHA256 ...@@ -610,6 +610,15 @@ config CRYPTO_SHA256
This code also includes SHA-224, a 224 bit hash with 112 bits This code also includes SHA-224, a 224 bit hash with 112 bits
of security against collision attacks. 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 config CRYPTO_SHA256_SPARC64
tristate "SHA224 and SHA256 digest algorithm (SPARC64)" tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
depends on SPARC64 depends on SPARC64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment