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

@@ -1,6 +1,6 @@
/*
* curve25519.c - Curve25519 ECDH functions for key exchange
* curve25519-sha256@libssh.org
* curve25519-sha256@libssh.org and curve25519-sha256
*
* This file is part of the SSH Library
*
@@ -40,7 +40,7 @@
#include "libssh/bignum.h"
/** @internal
* @brief Starts curve25519-sha256@libssh.org key exchange
* @brief Starts curve25519-sha256@libssh.org / curve25519-sha256 key exchange
*/
int ssh_client_curve25519_init(ssh_session session){
int rc;