aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connection_handler.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-05-25 14:08:09 +0200
committerHans Nilsson <[email protected]>2018-06-11 11:00:07 +0200
commit67af14a073783bfb43972c18f8e7d972ebf3f6b1 (patch)
tree8e6446ae0d02aaa699e12de09f30de0a891ecc58 /lib/ssh/src/ssh_connection_handler.erl
parent0ccdbaca9ab7a7965cc8ff358f1364cbde67854e (diff)
downloadotp-67af14a073783bfb43972c18f8e7d972ebf3f6b1.tar.gz
otp-67af14a073783bfb43972c18f8e7d972ebf3f6b1.tar.bz2
otp-67af14a073783bfb43972c18f8e7d972ebf3f6b1.zip
ssh: Add experimental eddh
Not working
Diffstat (limited to 'lib/ssh/src/ssh_connection_handler.erl')
-rw-r--r--lib/ssh/src/ssh_connection_handler.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl
index 3e224fe13f..f16aff947b 100644
--- a/lib/ssh/src/ssh_connection_handler.erl
+++ b/lib/ssh/src/ssh_connection_handler.erl
@@ -1770,6 +1770,10 @@ set_kex_overload_prefix(Msg = <<?BYTE(Op),_/binary>>, #data{ssh_params=SshParams
case catch atom_to_list(kex(SshParams)) of
"ecdh-sha2-" ++ _ ->
<<"ecdh",Msg/binary>>;
+ "curve25519-" ++ _ ->
+ <<"ecdh",Msg/binary>>;
+ "curve448-" ++ _ ->
+ <<"ecdh",Msg/binary>>;
"diffie-hellman-group-exchange-" ++ _ ->
<<"dh_gex",Msg/binary>>;
"diffie-hellman-group" ++ _ ->