Skip to content

Commit 86bc0d7

Browse files
authored
remove sntrup761x25519-sha512 from supported kex list (#756)
1 parent cdcc8d3 commit 86bc0d7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

myproposal.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@
2424
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2525
*/
2626

27+
#ifdef WINDOWS
28+
// these should be in the same order as upstream, without the ones we don't support
29+
#define KEX_SERVER_KEX \
30+
"curve25519-sha256," \
31+
32+
"ecdh-sha2-nistp256," \
33+
"ecdh-sha2-nistp384," \
34+
"ecdh-sha2-nistp521," \
35+
"diffie-hellman-group-exchange-sha256," \
36+
"diffie-hellman-group16-sha512," \
37+
"diffie-hellman-group18-sha512," \
38+
"diffie-hellman-group14-sha256"
39+
#else
2740
#define KEX_SERVER_KEX \
2841
2942
"curve25519-sha256," \
@@ -35,6 +48,7 @@
3548
"diffie-hellman-group16-sha512," \
3649
"diffie-hellman-group18-sha512," \
3750
"diffie-hellman-group14-sha256"
51+
#endif
3852

3953
#define KEX_CLIENT_KEX KEX_SERVER_KEX
4054

0 commit comments

Comments
 (0)