summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorSalvatore Benedetto2016-06-22 18:49:14 +0200
committerHerbert Xu2016-06-23 12:29:56 +0200
commit802c7f1c84e4b5a6ac78635878041023fc5831b1 (patch)
tree2dee2afffbbbb2761fd15fe94af28b93974ff0cf /crypto/Kconfig
parentcrypto: kpp - Key-agreement Protocol Primitives API (KPP) (diff)
downloadkernel-qcow2-linux-802c7f1c84e4b5a6ac78635878041023fc5831b1.tar.gz
kernel-qcow2-linux-802c7f1c84e4b5a6ac78635878041023fc5831b1.tar.xz
kernel-qcow2-linux-802c7f1c84e4b5a6ac78635878041023fc5831b1.zip
crypto: dh - Add DH software implementation
* Implement MPI based Diffie-Hellman under kpp API * Test provided uses data generad by OpenSSL Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index e72c4270173d..162d2f9aa242 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -111,6 +111,14 @@ config CRYPTO_RSA
help
Generic implementation of the RSA public key algorithm.
+config CRYPTO_DH
+ tristate "Diffie-Hellman algorithm"
+ select CRYPTO_KPP
+ select MPILIB
+ help
+ Generic implementation of the Diffie-Hellman algorithm.
+
+
config CRYPTO_MANAGER
tristate "Cryptographic algorithm manager"
select CRYPTO_MANAGER2