wolfssh-examples icon indicating copy to clipboard operation
wolfssh-examples copied to clipboard

Can't build example. wc_SSH_KDF not found.

Open Gato-X opened this issue 11 months ago • 8 comments

After setting up wolfSSH and wolfSSL so that they are visible when compiling the ESP32 example SSH server, I encountered an error during the build indicating that wc_SSH_KDF is not declared (or rather, is being implicitly declared) in wolfSSH’s internal.c.

/home/gato/iot/SSH-proof-of-concept/wolfssh/src/internal.c:2194:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Werror=implicit-function-declaration]
 2194 |         ret = wc_SSH_KDF(hashId, keyId, key, keySz,
      |               ^~~~~~~~~~
      |               wc_HKDF

Gato-X avatar Nov 13 '24 23:11 Gato-X