diff options
author | Salvatore Benedetto <salvatore.benedetto@intel.com> | 2016-06-22 18:49:14 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-23 12:29:56 +0200 |
commit | 802c7f1c84e4b5a6ac78635878041023fc5831b1 (patch) | |
tree | 2dee2afffbbbb2761fd15fe94af28b93974ff0cf /include/crypto/kpp.h | |
parent | crypto: kpp - Key-agreement Protocol Primitives API (KPP) (diff) | |
download | linux-802c7f1c84e4b5a6ac78635878041023fc5831b1.tar.xz 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 'include/crypto/kpp.h')
-rw-r--r-- | include/crypto/kpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/kpp.h b/include/crypto/kpp.h index 4fa897f3366b..937ac122354a 100644 --- a/include/crypto/kpp.h +++ b/include/crypto/kpp.h @@ -242,6 +242,7 @@ static inline void kpp_request_set_output(struct kpp_request *req, enum { CRYPTO_KPP_SECRET_TYPE_UNKNOWN, + CRYPTO_KPP_SECRET_TYPE_DH, }; /** |