summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2014-12-21 21:54:02 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-23 22:14:24 +0100
commitd69e75deff2377b46b2b357ac3781cc93cd7ffd6 (patch)
treee7fe1d99567c8c0c9980936b2e51e32294c46094
parentcrypto: octeon - add MD5 module (diff)
downloadlinux-d69e75deff2377b46b2b357ac3781cc93cd7ffd6.tar.xz
linux-d69e75deff2377b46b2b357ac3781cc93cd7ffd6.zip
crypto: octeon - enable OCTEON MD5 module selection
Enable user to select OCTEON MD5 module. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 87bbc9c1e681..1618468b1fcb 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -427,6 +427,15 @@ config CRYPTO_MD5
help
MD5 message digest algorithm (RFC1321).
+config CRYPTO_MD5_OCTEON
+ tristate "MD5 digest algorithm (OCTEON)"
+ depends on CPU_CAVIUM_OCTEON
+ select CRYPTO_MD5
+ select CRYPTO_HASH
+ help
+ MD5 message digest algorithm (RFC1321) implemented
+ using OCTEON crypto instructions, when available.
+
config CRYPTO_MD5_SPARC64
tristate "MD5 digest algorithm (SPARC64)"
depends on SPARC64