Use curve25519-sha256 kex where possible. Except where we're explicitly
authordtucker <dtucker@openbsd.org>
Wed, 21 Aug 2024 06:59:08 +0000 (06:59 +0000)
committerdtucker <dtucker@openbsd.org>
Wed, 21 Aug 2024 06:59:08 +0000 (06:59 +0000)
commita9bc4be8007ed1219389f325a497fcce59ce4c2e
tree104e61a247b2f6e0f0e339e4213fdfe5f02d4bb0
parentd1f9129b3751a332ed93634d090cd47f59f5974a
Use curve25519-sha256 kex where possible.   Except where we're explicitly
testing a different kex, use curve25519-sha256 since it's faster than the
default and supported even when configured without OpenSSL.  Add a check
to ensure that the kex we intended to test is the one we actually tested.
Speeds test up by ~5%.
regress/usr.bin/ssh/rekey.sh