diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2018-09-10 14:56:07 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-19 12:17:02 +0200 |
commit | d9d3b65df27e2a2e5c5b36d67ff91852cfde5156 (patch) | |
tree | ea59e615244fe245363384a2cb3562294fa70f9d /include/libssh/crypto.h | |
parent | 97cb302c0ea43788a78853f8fd4a8bfa066191a3 (diff) | |
download | libssh-d9d3b65df27e2a2e5c5b36d67ff91852cfde5156.tar.gz libssh-d9d3b65df27e2a2e5c5b36d67ff91852cfde5156.tar.xz libssh-d9d3b65df27e2a2e5c5b36d67ff91852cfde5156.zip |
dh: Add diffie-hellman-group16-sha512 support
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r-- | include/libssh/crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h index 490910fa..fdf23191 100644 --- a/include/libssh/crypto.h +++ b/include/libssh/crypto.h @@ -62,7 +62,9 @@ enum ssh_key_exchange_e { /* curve25519-sha256@libssh.org */ SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG, /* curve25519-sha256 */ - SSH_KEX_CURVE25519_SHA256 + SSH_KEX_CURVE25519_SHA256, + /* diffie-hellman-group16-sha512 */ + SSH_KEX_DH_GROUP16_SHA512, }; enum ssh_cipher_e { |