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)
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)