diff options
author | Salvatore Benedetto <salvatore.benedetto@intel.com> | 2016-06-22 17:49:14 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-23 18:29:56 +0800 |
commit | 802c7f1c84e4b5a6ac78635878041023fc5831b1 (patch) | |
tree | 2dee2afffbbbb2761fd15fe94af28b93974ff0cf /crypto/Kconfig | |
parent | 4e5f2c400765e3a3ce512dc1ae890bac53401798 (diff) | |
download | lwn-802c7f1c84e4b5a6ac78635878041023fc5831b1.tar.gz lwn-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/Kconfig | 8 |
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 |