summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMarkus Stockhausen <stockhausen@collogia.de>2015-01-30 15:39:34 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-02-27 22:48:47 +1300
commit2ecc1e95ec70923e642fa481ee7f7ad443798f2a (patch)
tree6c04c62d5905c9d000f9ad66770634b1f895ee75 /crypto
parentc147028ccc249681ef1129fb4b09f71fe6b75715 (diff)
crypto: ppc/sha256 - kernel config
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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 50f4da44a304..2ca8d15e0b6f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -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