diff options
author | Hans Nilsson <[email protected]> | 2018-05-25 14:08:09 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-06-11 11:00:07 +0200 |
commit | 67af14a073783bfb43972c18f8e7d972ebf3f6b1 (patch) | |
tree | 8e6446ae0d02aaa699e12de09f30de0a891ecc58 /lib/ssh/src/ssh_connection_handler.erl | |
parent | 0ccdbaca9ab7a7965cc8ff358f1364cbde67854e (diff) | |
download | otp-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.erl | 4 |
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" ++ _ -> |