wolfSSL / wolfssh

wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
https://www.wolfssl.com
367 stars 88 forks source link

Key Agree Update #686

Closed ejohnstown closed 3 months ago

ejohnstown commented 4 months ago
  1. Found some issues in some of the compiler guards for the key agreement functions.
  2. Broke the key agreement out into separate functions to make the jumbo Kex functions a little smaller.
  3. Added a ForceZero() for the Ecdh/Kyber shared secret.
  4. Made explicit flags for all the kex types and check for them specifically. Fixes a miss in some Ecdh cases.

This should fix issue #678 and #679. This supercedes pull request #684.