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>
This commit is contained in:
Tilo Eckert
2018-06-25 13:01:57 +02:00
committed by Andreas Schneider
parent da0f360478
commit e60cb2ee10
9 changed files with 17 additions and 6 deletions

View File

@@ -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 {