diff mbox

[5/5] crypto: enable OCTEON MD5 module selection

Message ID 1419195242-546-6-git-send-email-aaro.koskinen@iki.fi (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Aaro Koskinen Dec. 21, 2014, 8:54 p.m. UTC
Enable user to select OCTEON MD5 module.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 crypto/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox

Patch

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 87bbc9c..1618468 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