Skip to main content
Associate
June 10, 2026
Question

WolfSSH missing define

  • June 10, 2026
  • 0 replies
  • 12 views

I have added a wolfSSH ICube repo to my project.

 

It does not compile, showing: 
 

Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c: In function 'GenerateKey':
Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c:2215:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Wimplicit-function-declaration]
2215 | ret = wc_SSH_KDF(hashId, keyId, key, keySz,


I checked the config

wolfSSL.I-CUBE-wolfSSL_conf.h


and it seems to be missing the wolf repo has:

/* Enable wolfSSL features needed for wolfSSH */
#define WOLFSSL_WOLFSSH           /* Enable wc_SSH_KDF function */

 

 

Do I have to manually add it? 
Am I missing some other config that enables it?

wolfSSH example reference
wolfip/src/port/stm32h563/user_settings.h at master · wolfSSL/wolfip