aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorTilo Eckert <tilo.eckert@flam.de>2018-06-25 13:01:57 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-29 15:57:11 +0200
commite60cb2ee10d052c32fc6f2169fb5a34100374c0d (patch)
tree5dc9105754d9e07593a9ec229012c742ff2097d6 /include/libssh/crypto.h
parentda0f36047894bb98a547269c648a9119a70c5457 (diff)
downloadlibssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.tar.gz
libssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.tar.xz
libssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.zip
kex: add curve25519-sha256 as alias for curve25519-sha256@libssh.org
see: https://tools.ietf.org/id/draft-ietf-curdle-ssh-curves-07.html Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index f0d09342..d85b74da 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -60,7 +60,9 @@ enum ssh_key_exchange_e {
/* ecdh-sha2-nistp521 */
SSH_KEX_ECDH_SHA2_NISTP521,
/* curve25519-sha256@libssh.org */
- SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG
+ SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG,
+ /* curve25519-sha256 */
+ SSH_KEX_CURVE25519_SHA256
};
enum ssh_cipher_e {