From: Aaro Koskinen Date: Sun, 21 Dec 2014 20:54:02 +0000 (+0200) Subject: crypto: octeon - enable OCTEON MD5 module selection X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d69e75deff2377b46b2b357ac3781cc93cd7ffd6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git crypto: octeon - enable OCTEON MD5 module selection Enable user to select OCTEON MD5 module. Signed-off-by: Aaro Koskinen Signed-off-by: Herbert Xu --- 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