wolfssh
wolfssh copied to clipboard
Key Agree Update
- Found some issues in some of the compiler guards for the key agreement functions.
- Broke the key agreement out into separate functions to make the jumbo Kex functions a little smaller.
- Added a ForceZero() for the Ecdh/Kyber shared secret.
- 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.