crypto: octeon - enable OCTEON MD5 module selection
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 21 Dec 2014 20:54:02 +0000 (22:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 Dec 2014 21:14:24 +0000 (08:14 +1100)
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>
crypto/Kconfig

index 87bbc9c1e681cb3b118aef05c9bc8f663550a277..1618468b1fcbeeeda4120a7d8b29068f5261ce9e 100644 (file)
@@ -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