aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2020-04-03 12:49:19 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-04-06 09:27:26 +0200
commit9eb1ce88ae9222d092fa834b5594bdb9796e3f95 (patch)
treea40faf7fda27592099fcc5e242a413d9b4cb33dc /include/libssh
parentd2f0d3270a8733e3e8ad3788e8a315c533c765f9 (diff)
downloadlibssh-9eb1ce88ae9222d092fa834b5594bdb9796e3f95.tar.gz
libssh-9eb1ce88ae9222d092fa834b5594bdb9796e3f95.tar.xz
libssh-9eb1ce88ae9222d092fa834b5594bdb9796e3f95.zip
kex: Add support for diffie-hellman-group14-sha256
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 8b0ae0ca..ede71661 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -80,6 +80,8 @@ enum ssh_key_exchange_e {
SSH_KEX_DH_GROUP16_SHA512,
/* diffie-hellman-group18-sha512 */
SSH_KEX_DH_GROUP18_SHA512,
+ /* diffie-hellman-group14-sha256 */
+ SSH_KEX_DH_GROUP14_SHA256,
};
enum ssh_cipher_e {