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

Static Memory Pools #682

Closed ejohnstown closed 3 months ago

ejohnstown commented 4 months ago

Update wolfSSH to use wolfCrypt's static memory allocation pools. Most of wolfSSH already passes around a heap value that is passed into the WOLFSSH_CTX as a NULL. The echoserver and sftpclient examples have been updated with static pool descriptors that work on macOS and Linux builds when only SFTP is available. Some other changes were made in the client common code to include a heap when loading keys, and the other clients were updated for this. (Fixes 17726)